Blinking Lights using a Loop
This example demonstrates how to make the Fable dongle blink using an infinite loop.
This program consists of a sequence of actions which will make the Fable Dongle first light up blue for 1. second then red for 1. second. An infinite loop, around the sequence, will make the sequence repeat itself again and again until the program is stopped by pressing the red button.
Get blockly source code here.