netstranger.nz
- 16th March 2011, 19:58
Hi Everyone
I've just discovered that when you send decimal variable over the serial line you can use two different qualifiers DEC or #.
DEBUG DEC DatVar and DEBUG #DatVar will produce the same result in the Serial Communicator(F4 if you use Microcode Studio). I've noted though that DEC uses 27 words of the code space more than #. The timing doesn't change. http://www.picbasic.co.uk/forum/images/editor/attach.png
SEROUT also uses more code space than DEBUG while producing the same result according to the PICBasicpro manual.
Regards
I've just discovered that when you send decimal variable over the serial line you can use two different qualifiers DEC or #.
DEBUG DEC DatVar and DEBUG #DatVar will produce the same result in the Serial Communicator(F4 if you use Microcode Studio). I've noted though that DEC uses 27 words of the code space more than #. The timing doesn't change. http://www.picbasic.co.uk/forum/images/editor/attach.png
SEROUT also uses more code space than DEBUG while producing the same result according to the PICBasicpro manual.
Regards