How to use Conditional block in Arduino


#1

Hi all…
When i Want to add another Block inside the conditional block its not coming under the conditional block
I need like this out put

void setup() {
if(Bluetooth.available()) {

Data=Bluetooth.read();

}
}

when i add block with code " Data=Bluetooth.read(); " inside the Conditional block its not coming under { this area }… On Block software… how i solve this issue… please help

void setup() {
if(Bluetooth.available()) {

}
}

My mail ID mr.riyas.kt@gmail.com
I will send the screen shot or video if my question not clear.

link for error video please watch : [https://drive.google.com/drive/folders/1cQMXlZgJJvXD8LsdudVfjxyTR9ClYetI?usp=sharing](http://Screeen Recording link)