Oh - and one final thing - very trivial ...
If I receive a serial byte, then it will be stored as binary. Can I however manipulate it in PICBasic in decimal - for instance if a serial 3 is sent and stored in a byte variable 'input' then the binary stored will be:
00000011
However, if I want to manipulate this value, I can treat it as decimal and say:
input2 = input*2
and expect input2 to store the value 6 ...?
Ben
Bookmarks