That looks about right.
You do realize that you are not sending "GROUNDED" but just sending "GR"
The other ways of using hardware serial or maybe the SERIN2 command or DEBUG may or may not be a "better way", depends on what you are doing. SERIN/SEROUT is fine for basic stuff , SERIN2 gives more options....
Bookmarks