ESP32 & Decision

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Frco007
Posts: 17
http://meble-kuchenne.info.pl
Joined: Wed Jun 08, 2022 8:37 am
Has thanked: 3 times
Been thanked: 1 time

ESP32 & Decision

Post 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?
Attachments
ESP32.png
ESP32.png (205.05 KiB) Viewed 2111 times

BenR
Matrix Staff
Posts: 1954
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 700 times

Re: ESP32 & Decision

Post 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'

Frco007
Posts: 17
Joined: Wed Jun 08, 2022 8:37 am
Has thanked: 3 times
Been thanked: 1 time

Re: ESP32 & Decision

Post by Frco007 »

Hello

Thank you a lot. It's work now.

Post Reply