Thanks for reply. Not working but now more clear for me how to handle this controller. I tried init the controller with default I2c adress $70 like this:
No sign of life.Code:;pic 12F1840 #CONFIG __config _CONFIG1, _FOSC_INTOSC & _MCLRE_ON & _CP_OFF & _CPD_OFF __config _CONFIG2, _PLLEN_OFF & _LVP_OFF #ENDCONFIG OSCCON = %01110000 DEFINE OSC 8 TRISA = %000000 ANSELA = 0 'Digital scl var portA.2 sda var portA.1 SADD VAR BYTE ROW VAR WORD[5] COL var byte TMP VAR WORD CLEAR INIT: i2cwrite sda,scl,$70,[$21] 'on i2cwrite sda,scl,$70,[$81] 'blink off i2cwrite sda,scl,$70,[$E8] 'HALF BRIGHT i2cwrite sda,scl,$70,[$A0] 'NO INT i2cwrite sda,scl,$70,[SADD,ROW,ROW,ROW,ROW,ROW] ;CLEAR pause 200 ;send something row=5 SADD=1 i2cwrite sda,scl,$70,[SADD,ROW[0],ROW[1],ROW[2],ROW[3],ROW[4]]




Bookmarks