Skip to main content
1 of 3

the answer to my question of how write

servo1 = fdserial_rxChar(receive) << 7; // get Higher 7 bits servo1 += fdserial_rxChar(receive) & 0x7F; // get and add Lower 7 bits

so arduino would compile it is....

combined = (val1 << 7) | (val2);