Recent content by lolkc2

  1. 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?
  2. 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...
  3. 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?
Back
Top