osd-contiki/examples/osd/arduino-sketch
Ralf Schlatterbeck c5d25f5bfe Last minute bug-fix of arduino-sketch
... happens when not completing testing before pushing commit :-)
2014-06-26 19:07:48 +02:00
..
arduino-example.c Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
flash.sh Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
led_pwm.h Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
Makefile Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
project-conf.h Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
README.md Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
resource_led_pwm.c Last minute bug-fix of arduino-sketch 2014-06-26 19:07:48 +02:00
run.sh Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
sketch.pde Last minute bug-fix of arduino-sketch 2014-06-26 19:07:48 +02:00

Arduino compatibility example

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