osd-contiki/examples/osd
Ralf Schlatterbeck b6be226e69 Add Arduino compatibility layer
We can now directly compile arduino sketches (.pde) files.
Arduino compatible analogWrite works now.
But there is still a long way to go, serial I/O and timer stuff (delay,
millis etc) currently don't work (not tested but I don't expect this to
work).
It can be used in an arduino sketch or in a normal contiki program.
We get a PWM frequency of 490.2 Hz (a period of 2.040 ms), that's
Arduino compatible. If you need different frequencies see native timer
usage in examples/osd/pwm-example
In a contiki program you have to call arduino_pwm_timer_init to
initialize the timer before pwm works. The arduino sketch wrapper
already does this.
For running a sketch, see examples/osd/arduino-sketch
2014-11-19 13:48:05 +01:00
..
6lowpan-tk Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
arduino-merkurboard add Arduino pin definition and commands 2014-11-19 13:42:57 +01:00
arduino-sketch Add Arduino compatibility layer 2014-11-19 13:48:05 +01:00
climate Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
dual-rgbw-actor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
embedd-vm-merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
er-rest-example-merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
light-actor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
light-shutter-control initial upload 2014-11-19 13:43:19 +01:00
merkurboard Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
native-border-router added run.sh and flash.sh 2014-11-19 12:13:09 +01:00
pingtheplug initial upload 2014-11-19 13:43:12 +01:00
pir-sensor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
powerbox Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
pwm-example Initial implementation of avr hardware timer 2014-11-19 13:47:37 +01:00
rpl-border-router Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
servo-sensor Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
slip-radio Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
wallclock-time Add wallclock time handling 2014-11-19 13:43:45 +01:00
wirelessplug Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
.gitignore Allow changing bootloader_get_mac address 2014-11-19 13:42:35 +01:00
README change plattform to osd-merkur 2014-11-19 12:05:54 +01:00
runall.sh compile all osd-examples 2014-11-19 13:38:38 +01:00

OSDOMOTIS

www.osdomotics.com

Plattform: osd-merkur