osd-contiki/examples/osd/arduino-htu21
2016-09-26 21:04:05 +02:00
..
Adafruit_HTU21DF_Library-master
resources
Adafruit_HTU21DF.cpp
Adafruit_HTU21DF.h
arduino-example.c
flash.sh Multi-platform support, osd-merkur-{128,256} 2016-04-22 17:59:40 +02:00
Makefile Multi-platform support, osd-merkur-{128,256} 2016-04-22 17:59:40 +02:00
project-conf.h reduce power consumtion 2016-09-26 21:04:05 +02:00
README.md
run.sh Multi-platform support, osd-merkur-{128,256} 2016-04-22 17:59:40 +02:00
sketch.pde reduce power consumtion 2016-09-26 21:04:05 +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