The Large LED, like the Buzzer, is one of the easiest crumbs to set up and use in your projects. It is clearly labelled (+-), and its built-in resistor means that you don’t have to worry about additional components, or the risk of breaking it.
The + on the LED needs to be connected to an output on the Crumble (A, B, C or D) and then – on the LED needs to connect to a – pad on the Crumble.
Note: Don’t forget you will need to add batteries.
This block is the one which you will use to control the LED. Click the letter or HI to switch between options.
In this example the code turns on the LED, waits for one second, and then turns it off again. This means that the LED will be on for one second. It will do this indefinitely.
Here is the LED working, using the code mentioned earlier.