How to?: Send VT100 command via FullDuplexSerialPlus object
SteveWoodrough
Posts: 190
Please excuse my ignorance. I tried searching this in Google and in the forum and came up empty. I need to send the VT 100 clear screen command to a terminal emulator. I am able to send text and numbers from my Prop via BT to my Android phone running the BlueTerm application.
Im accustomed to sending serial data to an LCD where of course sending fds.tx(16) will clear the screen and home the cursor. That same approach does not work with BlueTerm. Apparently I need to transmit the VT100 command <ESC>[2J .
What would my FullDuplexSerialPlus method call look like? fds.tx(???)
Best Regards,
Steve
Im accustomed to sending serial data to an LCD where of course sending fds.tx(16) will clear the screen and home the cursor. That same approach does not work with BlueTerm. Apparently I need to transmit the VT100 command <ESC>[2J .
What would my FullDuplexSerialPlus method call look like? fds.tx(???)
Best Regards,
Steve
Comments
I'm pretty sure escape is ASCII character # 27.
I think this would do it.
Steve
Latest wireless vision project video:
https://www.youtube.com/watch?v=UZe48U0K89k
Regards,
Steve
Here are a bunch of codes:
Duane J