osd-contiki/examples/osd/arduino-climate3
2015-11-29 22:31:59 +01:00
..
Adafruit_HTU21DF_Library-master initial upload 2015-09-04 14:04:11 +02:00
resources add dallas ds1820 external sensor 2015-11-29 22:31:59 +01: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
DallasTemperature.cpp add dallas ds1820 external sensor 2015-11-29 22:31:59 +01:00
DallasTemperature.h add dallas ds1820 external sensor 2015-11-29 22:31:59 +01:00
flash.sh initial upload 2015-09-04 14:04:11 +02:00
Makefile add dallas ds1820 external sensor 2015-11-29 22:31:59 +01: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
OneWire.cpp add dallas ds1820 external sensor 2015-11-29 22:31:59 +01:00
OneWire.h add dallas ds1820 external sensor 2015-11-29 22:31:59 +01: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.h add dallas ds1820 external sensor 2015-11-29 22:31:59 +01:00
sketch.pde add dallas ds1820 external sensor 2015-11-29 22:31:59 +01: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