Page 1 of 1

ESP32 & Decision

Posted: Fri Dec 16, 2022 4:02 pm
by Frco007
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?

Re: ESP32 & Decision

Posted: Mon Dec 19, 2022 11:03 am
by BenR
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'

Re: ESP32 & Decision

Posted: Fri Dec 23, 2022 8:38 am
by Frco007
Hello

Thank you a lot. It's work now.