Is it possible to send a string that has text within quotation marks in a string using the SEROUT command ? I seem to get an error and I need to use this feature to send commands to an external color LCD panel. (BTW, I'm new at PicBasic).
Is it possible to send a string that has text within quotation marks in a string using the SEROUT command ? I seem to get an error and I need to use this feature to send commands to an external color LCD panel. (BTW, I'm new at PicBasic).
Sure can,
The ascii code for double quotes is 34. So you can do this...Code:SEROUT Pin, Mode, [34,"some text here",34]
DT
Thank you !!! That approach had never occurred to me.
Bookmarks