Convey thoughts / BTN

Let's tell your thoughts to the computer with the button on the left of IchigoJam.
If you press ENTER key without pressing the button, it will display zero (0). Press the UP key three times on the lower right of the keyboard, move a blinking square (cursor) , then hold down the button and press ENTER key.
It is succeed if it displayed a "1"!
Repeat using "GOTO" command.
"0" displays in a row, let's try to press or release a button.
To stop, use the ESC(Escape) key.
The program that LED lights when button is pressed.
Even F5 key is OK instead of "RUN" command!
The "LED" command lights when it is 1 and disappears when it is 0, so it lights in line with the button press.
Stop with the ESC key.
You press the button, it blinks fast!
"WAIT" is a command for waiting.
When the button is not pressed, it is "WAIT 10".
If pressed, BTN() will be 1, subtract a number which is multiplied by 5 with "* 5", so it becomes "WAIT 5".
Go back to line 10 with "GOTO", repeat.
Try it!
1. Let's make it blink more quickly, if the button is pressed.
2. Let's make it blink slowly, if the button is pressed.
3. Let's remodel to always light, if the button is pressed.
4. Let's remodel so as not to light at all when not pressing the button.
CC BY IchigoJam print https://ichigojam.github.io/print/en/ IchigoJam®jig.jp