Recent content by lolkc2
-
L
Problem in reading the 2nd data from pcf8563 real time clock by i2c
This is my code. If i didn't add the restart condition, the 2nd data cannot be read. But the data sheet mention that the data can be transfer continuous without any restart. So I need to figure out the problem. Is it any problem in my code?- lolkc2
- Post #4
- Forum: Electrical Engineering
-
L
Problem in reading the 2nd data from pcf8563 real time clock by i2c
;/** ; * EXP 1 ; * ; * This program displays the character '0' on one ; * of the seven segment displays. ; */ list p = 18f4520 include "p18f4520.inc" CONFIG OSC = INTIO67 CONFIG PWRT = ON CONFIG WDT = OFF CONFIG DEBUG = ON, LVP = OFF WriteSlaveAddr EQU b'10100010' ReadSlaveAddr EQU...- lolkc2
- Post #3
- Forum: Electrical Engineering
-
L
Problem in reading the 2nd data from pcf8563 real time clock by i2c
Suppose the 2nd data can be read after the first data, but i need to restart the condition the only can read the 2nd data. By that, i have read the slave address again before the 2nd data has been read. So how should i solve it?- lolkc2
- Thread
- Clock Data Reading Time
- Replies: 3
- Forum: Electrical Engineering