char data = 0;if (isButton1Pressed)data |= 1;if (isButton2Pressed)data |= 2;if (isButton3Pressed)data |= 4;/* Now send data */
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)