osd-contiki/platform
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
..
apple2enh Added info on W5100 driver. 2014-03-15 16:56:08 +01:00
atarixl Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
avr-atmega128rfa1 Closing doxygen groups 2014-06-02 14:54:17 +02:00
avr-raven Closing doxygen groups 2014-06-02 14:54:17 +02:00
avr-ravenlcd 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
avr-ravenusb Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-rcb Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
avr-zigbit Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
c64 Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
c128 Moved the 6502 custom rules into its own Makefile.customrules-6502 file 2014-01-26 23:20:40 +01:00
cc2530dk Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
cc2538dk Merge pull request #411 from ADVANSEE/cc2538-adc 2014-04-13 03:05:12 +01:00
cooja Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
econotag Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
eval-adf7xxxmb4z Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
exp5438 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
iris Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
mbxxx Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
micaz Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
minimal-net Moved the individual MODULE definitions from the top-level Makefile.include into the individual platforms' Makefiles 2014-01-26 23:20:36 +01:00
native native: Add CTK to the module list 2014-03-21 23:01:02 +01:00
osd-merkur Add Arduino compatibility layer 2014-06-26 11:00:01 +02:00
seedeye Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
sensinode Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
sky Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
stm32test 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
win32 Fixed win32 broken by recent changes. 2014-02-02 20:19:47 +01:00
wismote Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
z1 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
z1sp Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00