Skip to content
Discussion options

You must be logged in to vote

Sorry for the delayed response, but thank you so much for your help robert-hh.

I have written a class which can read in single characters over serial, put those characters into a message, and then handle said message.

This code could be easily modified to make the messages larger than a single charter by using the command message += readSerial() in some form of a loop. Of course, logic would then have to be added make sure the message is then handled at the desired size, or when it matches a command, or whatever behavior is desired, but that is a larger project that goes beyond what the first post was about.

This code also has the advantage of not needing to disconnect from the REPL in or…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bangell-rockhall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants