Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello.
I am receiving data from an IR Link (not standard), but the transmitting device has the data inverted (yes, I am responsible for that)
Is there anyway to invert the data easily in s/ware. I tried !getc below but no luck.
Thanks
/****************************************************************/
void remotecontrol(){
myled=!myled;
pc.putc(remote.getc() + 1); /* get the char and send to the terminal */
}
/*************************************************************/