> 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