So why don't you? ;-)
Master:
Slave:Code:ADResult VAR BYTE .... .... HSEROUT [ADResult] '1 byte
But now, if you're trying to debug this by sending te value of Duty to the PC terminal you need to use the DEC modifier so it converts the value to ASCII for display to us humans, HSEROUT [DEC Duty]Code:Duty VAR WORD HSERIN [Duty] '1 byte
/Henrik.
Bookmarks