osd-contiki/examples/osd
Ralf Schlatterbeck e65dabb119 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-06-26 11:00:01 +02:00
..
6lowpan-tk Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
arduino-merkurboard add Arduino pin definition and commands 2014-05-22 16:25:15 +02:00
arduino-sketch Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
climate Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
dual-rgbw-actor Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
embedd-vm-merkurboard Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
er-rest-example-merkurboard Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
light-actor Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
light-shutter-control initial upload 2014-05-27 11:34:10 +02:00
merkurboard Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
native-border-router changed char c to signed char c to be compatible to armhf architecture 2014-04-15 07:27:30 +02:00
pingtheplug initial upload 2014-05-27 11:33:10 +02:00
pir-sensor Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
powerbox Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
pwm-example Initial implementation of avr hardware timer 2014-06-22 13:32:05 +02:00
rpl-border-router Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
servo-sensor Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
slip-radio Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
wallclock-time Add wallclock time handling 2014-05-29 17:31:19 +02:00
wirelessplug Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
.gitignore Allow changing bootloader_get_mac address 2014-05-13 16:56:59 +02:00
README change plattform to osd-merkur 2014-04-15 07:27:27 +02:00
runall.sh compile all osd-examples 2014-04-15 07:27:32 +02:00

OSDOMOTIS

www.osdomotics.com

Plattform: osd-merkur