To use this file you will need to have an arduino uno compatible board, 2 wires, and the upload cable.
To start off this tutorial you need to know a few things, they will be covered in this tutorial but if you know them ill
indicate if you can skip this part :). You need to put you're arduino in DFU-mode and you need to know how to install a
library in the arduino ide. Basicly this tutorial with cover those two parts and then it will explain the basic syntax.
To install and setup the arduino you need to install dfu-programmer:
+=============================+=======================+
| sudo apt-get install dfu-programmer | brew install dfu-programmer |
+=============================+=======================+
After installing the dfu-programmeryou need to setup youre arduino in DFU-mode. To do that on MY board you need to wire up
those pins as seen on the picture below, just make the black cable touch slightly the middle pin and remove the orange one.
After that you need to flash
this firmware.
You should get the output as bellow if you are on mac:
Note that you should use the dfu-prog script to flash a script on you're arduino
After flashing this firmware you can now upload a script to you're arduino. we will be using the scirpt given in the exemple
folder. To do this simply opne up you're ide and open the scirpt. From now on you have to install the library, get the .zip
file that is located in the master folder and in you're ide go to:
+==================================+
| Sketch > Include Library > Add .Zip Library |
+==================================+
After adding the library you can now code anything that you would like. After installing the library and uploading the sketch
we are not yet finished you need to change the firmware again on you're arduino to
this one
Note that changing the firmware will not remove the program uploaded to the arduino.