Hi
II'm new to Flowcode and having beginner's problems.
I read the input of the letter via the Bluetooth connection on the ESP32 and when I get the information that the letter is "z", the routine should be executed, otherwise it is not. How to solve?
ESP32 & Decision
-
- Posts: 17
- http://meble-kuchenne.info.pl
- Joined: Wed Jun 08, 2022 8:37 am
- Has thanked: 3 times
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1954
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 700 times
Re: ESP32 & Decision
Hello,
In your decision you can check if the byte received is equal to 'z' note the single quotes around the character to signify it's a single byte.
Decision
var = 'z'
In your decision you can check if the byte received is equal to 'z' note the single quotes around the character to signify it's a single byte.
Decision
var = 'z'
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel