Explanation for Condition Block


#1

I tried to make a condition block but i cant get it to add the code inside.
I tried \ * {BRANCH} * \ and \ * {$BRANCH} * \ both seem not to work. What command do i need?


#2

Try /{BRANCH}/.


#3

I tried / * {BRANCH * / as well as / * {$BRANCH * /
While / * {$BRANCH * / seems to be correct (no error message) there is no code added when i put something inside.


#4

No, it is /{BRANCH}/ instead of /{BRANCH/.


#5

also doesnt work


#6

Please put it in a zip file and upload it. I will confirm the problem.


#7

Upload the extension file in a zip folder. I will confirm the problem.


#8

elgo_smartv3(18).zip (288.9 KB)

Sorry i was unavailable for a day


#9

What is the type of value you want to add? Is it boolean type?


#10

you need to change BRANCH -> BRANCH1


#11

I’m sorry, I’m reading your text with automatic translation, so it doesn’t make sense to me.
By the way, this document may be helpful.
https://www.mblock.cc/doc/en/developer-documentation/tutorials/add-led-light-to-arduino-uno.html


#12

The problem is the same. (forever block). and not used (conditional block).

my problem. link


#13

my dear friend.
I solved it.
narration in painting.


#14

What condition block do you want to make? If you don’t know it, you can’t make it.


#15

try to remove “*” in your /{BRANCH}/
dai5_jp said you /[BRANCH}/, not /{BRANCH}/
I didn’t did that so it can be false, don’t take my answer for the right answer
Sorry for my bad Englisch,
Kaki In


#16

my dear friend.

my picture answers. the last picture.

to loop.

/{$BRANCH1}/


#17

/ {$ BRANCH1} /