osd-contiki/examples/osd/arduino-settingsmanager
2017-08-31 11:23:55 +02:00
..
resources initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
arduino-example.c initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
arduino-merkurbaord.geany initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
flash.sh initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
Makefile initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
project-conf.h initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
README.md initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
run.sh initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
sketch.pde initial upload settingsmanager example 2017-08-31 11:23:55 +02:00

Arduino compatibility example

make clean TARGET=osd-merkur-256 flash

This example shows that it is now possible to re-use arduino sketches in Contiki. This example documents the necessary magic. Arduino specifies two routines, setup and loop. Before setup is called, the framework initializes hardware. In original Arduino, all this is done in a main function (in C). For contiki we define a process that does the same.

See the documentation file in apps/contiki-compat/README.md