serout / serin
c131frdave
Posts: 38
When you send a serial out command, can you use decimals instead of hex?
For example:
'Send SETDC command, set duty cycle to 'DD'h, or 86.2%,(Dec 221 out of 256 possible)
'
·· SEROUT·· FM,396,[noparse][[/noparse]$55,$83,$DD]
Can I use instead:
·· SEROUT FM,296,[noparse][[/noparse]$55,$83,221]
I guess I could try it myself...· duh..
··
For example:
'Send SETDC command, set duty cycle to 'DD'h, or 86.2%,(Dec 221 out of 256 possible)
'
·· SEROUT·· FM,396,[noparse][[/noparse]$55,$83,$DD]
Can I use instead:
·· SEROUT FM,296,[noparse][[/noparse]$55,$83,221]
I guess I could try it myself...· duh..
··
Comments