osd-contiki/examples/osd/arduino-dht
Harald Pichler 15039f6b5d cleanup code
2017-10-19 15:44:11 +02:00
..
DHT-sensor-library-master initial upload 2017-09-26 16:44:02 +02:00
resources expand to tree htu sensors 2017-10-19 14:28:10 +02:00
arduino-dht.geany add dht sensor code 2017-10-19 11:35:46 +02:00
arduino-example.c initial upload 2017-09-26 16:44:02 +02:00
DHT.cpp initial upload 2017-09-26 16:44:02 +02:00
DHT.h cleanup code 2017-10-19 15:44:11 +02:00
flash.sh initial upload 2017-09-26 16:44:02 +02:00
Makefile initial upload 2017-09-26 16:44:02 +02:00
project-conf.h cleanup code 2017-10-19 15:44:11 +02:00
README.md initial upload 2017-09-26 16:44:02 +02:00
run.sh initial upload 2017-09-26 16:44:02 +02:00
sketch.pde cleanup code 2017-10-19 15:44: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