Suggestion for parsing the result from sending the battery? command #4
Unanswered
jsolderitsch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that commands are sent with TelloCLI.write; e.g.
If a packet returned contains an integer (for example from the battery? command) where would I add my logic in Arduino to parse this into an integer to make a decision: light an LED connected to the ESP32 if the battery is less than 20% for example.
Does the write command return the command result from the Tello? What Arduino data type is it so that I can convert it to make a logical comparison?
I am new to this sort of thing in Arduino.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions