osd-contiki/examples/osd/arduino-climate3
2015-09-11 21:41:24 +02:00
..
Adafruit_HTU21DF_Library-master initial upload 2015-09-04 14:04:11 +02:00
resources add htu21d sensor and resources and set mesure inteval to 10 seconds 2015-09-11 21:41:24 +02:00
Adafruit_HTU21DF.cpp initial upload 2015-09-04 14:04:11 +02:00
Adafruit_HTU21DF.h initial upload 2015-09-04 14:04:11 +02:00
arduino-example.c initial upload 2015-09-04 14:04:11 +02:00
flash.sh initial upload 2015-09-04 14:04:11 +02:00
Makefile add htu21d sensor and resources and set mesure inteval to 10 seconds 2015-09-11 21:41:24 +02:00
new.cpp initial upload 2015-09-04 14:04:11 +02:00
new.h initial upload 2015-09-04 14:04:11 +02:00
Print.h initial upload 2015-09-04 14:04:11 +02:00
Printable.h initial upload 2015-09-04 14:04:11 +02:00
project-conf.h add htu21d sensor and resources and set mesure inteval to 10 seconds 2015-09-11 21:41:24 +02:00
README.md initial upload 2015-09-04 14:04:11 +02:00
run.sh initial upload 2015-09-04 14:04:11 +02:00
sketch.pde add htu21d sensor and resources and set mesure inteval to 10 seconds 2015-09-11 21:41:24 +02:00
Stream.cpp initial upload 2015-09-04 14:04:11 +02:00
Stream.h initial upload 2015-09-04 14:04:11 +02:00
twi.c initial upload 2015-09-04 14:04:11 +02:00
twi.h initial upload 2015-09-04 14:04:11 +02:00
Wire.cpp initial upload 2015-09-04 14:04:11 +02:00
Wire.h initial upload 2015-09-04 14:04:11 +02:00
WString.cpp initial upload 2015-09-04 14:04:11 +02:00
WString.h initial upload 2015-09-04 14:04:11 +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