osd-contiki/examples/osd/arduino-climate3
2015-10-08 21:14:43 +02:00
..
Adafruit_HTU21DF_Library-master initial upload 2015-09-04 14:04:11 +02:00
resources cleanup resources 2015-10-08 21:14:43 +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 bugfix printf and float 2015-09-14 10:51:16 +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 bugfix float resources, save energy enabled 2015-09-14 16:55:18 +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 remove first space from converted string 2015-09-16 10:31:52 +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