osd-contiki/examples/osd/arduino-dallaseprom
2017-02-01 16:17:48 +01:00
..
arduino-example.c initial upload 2017-02-01 11:26:50 +01:00
DallasEPROM.cpp initial upload 2017-02-01 11:26:50 +01:00
DallasEPROM.h initial upload 2017-02-01 11:26:50 +01:00
flash.sh initial upload 2017-02-01 11:26:50 +01:00
Makefile initial upload 2017-02-01 11:26:50 +01:00
OneWire.cpp initial upload 2017-02-01 11:26:50 +01:00
OneWire.h initial upload 2017-02-01 11:26:50 +01:00
project-conf.h print buffer text and hex format 2017-02-01 16:17:48 +01:00
README.md initial upload 2017-02-01 11:26:50 +01:00
run.sh initial upload 2017-02-01 11:26:50 +01:00
sketch.h initial upload 2017-02-01 11:26:50 +01:00
sketch.pde print buffer text and hex format 2017-02-01 16:17:48 +01: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.

DallasEPROM

Arduino library for Dallas 1-Wire (E)EPROMs https://github.com/pceric/DallasEPROM

See the documentation file in apps/contiki-compat/README.md

Build and Flash Merkurboard 256

make clean TARGET=osd-merkur-256 flash