FireBlock's First Project
After FireBlock connects with Fireduino board successfully, we now introduce how to control Fireduino board by FireBlock, with some simple examples.
The classic example is blinking the LED. Fireduino has two builtin LEDs, which connect with digital pin 3 and 13 correspondingly. We can test the LEDs without external circuits.
Drag all the blocks needed to the scripting area. Please note, you may need to scroll the gray scroll bar on the right side to see the block.
Put all the blocks in the scripting area:
We control the LED with digital pin 3 below.
Click the dropdown icon of . In the popup list, select 3 (Note: if the popup list is empty, it means that FireBlock is unable to connect with Fireduino successfully, hence there is no pin information fetched from the board.)：
The LED is on with low voltage input, and off with high.
Before run, please make sure FireBlock has connected with Fireduino board.
The LED will blink now.