osd-contiki/examples/osd/arduino-sygonix-valve
Marcus Priesch 965ac84918 added 2017-10-10 00:39:53 +02:00
..
Adafruit-GFX-Library-master added 2017-10-10 00:39:53 +02:00
Adafruit_SH1106-master added 2017-10-10 00:39:53 +02:00
resources added 2017-10-10 00:39:53 +02:00
Makefile added 2017-10-10 00:39:53 +02:00
README.md added 2017-10-10 00:39:53 +02:00
arduino-example.c added 2017-10-10 00:39:53 +02:00
flash.sh added 2017-10-10 00:39:53 +02:00
project-conf.h added 2017-10-10 00:39:53 +02:00
run.sh added 2017-10-10 00:39:53 +02:00
sketch.pde added 2017-10-10 00:39:53 +02:00
valve.h added 2017-10-10 00:39:53 +02:00

README.md

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