osd-contiki/cpu
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
..
6502 Fixed hardware detection. 2014-07-12 11:27:52 +02:00
arm [cpu/arm] Added doxygen .txt files for gaining a minimum of documentation structure 2014-11-10 23:53:33 +01:00
avr Add Arduino compatibility layer 2014-11-19 13:48:05 +01:00
cc253x Implement extended RF API for the CC2530 RF 2014-04-23 12:16:50 +01:00
cc2430 Added stub for extended radio API for cc2430 2014-04-03 13:38:21 +02:00
cc2538 Improve documentation for the CC2538 IEEE address re-ordering 2014-06-06 18:33:28 +01:00
mc1322x 'free_packet' in csma.c conflicted with 'free_packet' in maca.c 2014-08-04 01:09:57 -07:00
msp430 Fix time accounting on msp430 Series 5 MCU based platforms (wismote) 2014-08-21 18:09:54 +02:00
native Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
pic32 [cpu/pic32] Removed excess end group 2014-11-10 23:53:33 +01:00
rl78 Added stub for extended radio API for rl78 2014-04-03 13:38:28 +02:00
stm32w108 [cpu/stm32w108] Doxygen grouping and group name fixes 2014-11-10 23:53:33 +01:00
x86 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00