I really dont know. If i try it i will write the results. Thanks by the way! > > I2CWRITE PORTA.0,PORTA.1$,%1010000,B0,[G0] > > > Yesterday i found what was going wrong... > > > It was the %1010000! I dont know why this is not working. > > I wrote $A0 = %1010000 in Hexadecimal and now it is ok! > > What does the PICBASIC PRO COMPILER do with %1010000 ? > > Does it become %01010000 ? $A0 is %10100000, not %1010000 > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu ____________________________________________________________________ http://www.freemail.gr - dyqe\m upgqes_a gkejtqomijo} tawudqole_ou. http://www.freemail.gr - free email service for the Greek-speaking. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu