osd-contiki/examples/osd/arduino-settingsmanager
2017-09-07 11:44:54 +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 work in progress -> rf settings shell 2017-09-05 16:38:55 +02:00
extended-rf-api.c work in progress -> rf settings shell 2017-09-05 16:38:55 +02:00
extended-rf-api.h add shell-merkur 2017-09-05 22:24:56 +02:00
flash.sh initial upload settingsmanager example 2017-08-31 11:23:55 +02:00
Makefile add shell-merkur 2017-09-05 22:24:56 +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
shell-merkur.c add shell save parameter txpower, channel, panid 2017-09-07 11:44:54 +02:00
shell-merkur.h work in progress -> rf settings shell 2017-09-05 16:38:55 +02:00
sketch.pde add shell save parameter txpower, channel, panid 2017-09-07 11:44:54 +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