-
Notifications
You must be signed in to change notification settings - Fork 27
Tutorial : Hello world (Blinking LED)
Mélanie Bats edited this page Mar 6, 2014
·
10 revisions
If you do not know how to create a new project have a look to the tutorial How to create a new project ?.
In this tutorial we will see how to create a blinking LED with the Arduino Designer.
In this example we use the Arduino Uno platform and hardware components from the DFRobot Ardublock kit.
The hardware is defined as below :
The DFRduino Uno R3
platform is used and the blue LED
module is connected to the pin 13
of the Arduino board.
For the sketch, blinking an LED means :
- wait a certain
delay
- set the blue LED to
ON
- wait again
- set the blue LED to
OFF
- loop...
Finally, click on the Upload
button from the toolbar to upload the code to the Arduino board.
The source of this example are available in: https://github.com/mbats/arduino/tree/master/examples/fr.obeo.dsl.arduino.examples.helloworld