Blink Example
This example teaches you how to generate the code for the blink program!
Want to start coding using Automaduino? Great! Find out about the editor interface and what you need to do to generate code.
Arduino Editor Interface
The interface consists of the following parts:
If you click on the pin assignment button a dialogue will open. Here you can assign the pins for the components on the board.
Pin Assignment example
First add a new component, then select a pin number and a component type. If you have done this successfully you can drag a state from the list at the bottom and add it to the component.
If you’re done save your assignments by clicking on the submit button.
Tipp: You can rename your states so you know exactly which state you are assigning!
To use your code you have to copy it. You can always select all code in the editor by hand, but there is also a shortcut in the editor menu.
Copy code using the editor shortcut
If your editor is closed there is a shortcut available at the bottom of the closed drawer. Next to it is also a shortcut to the pin assigment.
Copy code with a closed code editor
To upload a sketch to the Arduino you need to install the Arduino IDE.
If you’ve done this successfully, open the IDE and select your board type. The default one is “Arduino Uno”.
Board selection Menu
Next connect your board via USB to your computer. Then select your board in the port selection. The correct port should have the board name next to it.
Port Selection Menu
Then you can copy the code of the Automaduino editor and paste it into the Arduino editor. To upload a sketch press the upload button while your Arduino is connected. That’s it!
Upload Button
For a full example head over to the blink page.
This example teaches you how to generate the code for the blink program!