add BH1750 sensor example

This commit is contained in:
harald42 2016-05-17 16:43:11 +02:00
parent 944f1b06d6
commit a95b0c9d46
18 changed files with 1140 additions and 0 deletions

View file

@ -0,0 +1,11 @@
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