i m trying to create a nxc file to communicate with a PCB with a PCF8574.
On my PCB i have some buttons and leds. I want to display an information on the NXT screen and light a led when i press a button :
My problem is that i can't see when a button is pressed, i try to use :
Code: Select all
if(ReadBuf[0]==0xF2) // F2 is the adress of a button
(I m not the one who created this PCB but i try to use it).
Thanks for help
I didn't pratice english for a long time :/ Sorry