Be sure not to overflow your variable type with the calculation
tach = (b1*100)+(b2*10)+b3
Arch
Be sure not to overflow your variable type with the calculation
tach = (b1*100)+(b2*10)+b3
Arch
Arch... it would not be possible to overflow a word with that formula...
Guess I should have been more specific about that - I meant if he was using a byte variable. (but now I see that he mentioned a word-sized variable - DUH!)Originally Posted by Melanie
Arch
"This is a great temporary solution until I can find out how to send word variables over a wireless link."
If you can send bytes then you can send words.
When you send just break the words into bytes.
tach var word
tach.lowbyte = high byte of word
tach.highbyte = low byte of word
Bookmarks