Go Down

Topic: problem if serial send is not 3 digit. (Read 1 time) previous topic - next topic

Mitch_CA

I recommend you fire the other 19,639 people.  They are redundant ;)

vitesse

#11
Feb 12, 2010, 01:51 am Last Edit: Feb 12, 2010, 01:52 am by vitesse Reason: 1
controling an antenna Rotor over internet. On a website that permit to share radio and control it over internet.


I finaly found a "great" solution. (as the user will send X=XXX)

I test to see if I have a number from 0 to 9 on byte 5 if yes I do calculation for 3 digit. If not I test if I have a number  from 0 to 9 on byte 4, if yes I do calculation with only two digit, and at last I use only the byte 3 to only say that the number is from 0 to 9


Montreal nodes On globaltuners

Go Up