osd-contiki/examples
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
..
antelope Avoid compilation warnings in Antelope. 2014-09-05 18:21:47 +02:00
cc2530dk Use the extended RF API for the cc2530 border router example 2014-04-23 12:16:50 +01:00
cc2538dk cc2538: uart: Make it possible to use several UARTs simultaneously 2014-04-17 18:53:44 +02:00
collect SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
eeprom-test Eeprom-test example modified 2013-11-27 15:40:07 +01:00
email Added mouse support for the Atari. 2014-01-20 22:51:40 +01:00
er-rest-example Add SHT11 CoAP Resource and Activate Sensors for several CoAP Resources. 2014-08-25 11:36:31 +01:00
example-shell Moved net/rime.h to net/rime/rime.h 2014-01-26 23:20:45 +01:00
extended-rf-api Simplify the extended RF API example 2014-04-22 19:42:47 +01:00
ftp Added mouse support for the Atari. 2014-01-20 22:51:40 +01:00
hello-world SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
ipv6 Merge pull request #557 from kkrentz/llsec-integration 2014-10-08 15:45:46 +02:00
irc Added mouse support for the Atari. 2014-01-20 22:51:40 +01:00
llsec/ccm-star-tests llsec: Renamed ccm to ccm_star & Renamed llsec regression test 2014-10-16 09:21:56 -07:00
mbxxx Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
multi-threading Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
netperf SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
osd Add Arduino compatibility layer 2014-11-19 13:48:05 +01:00
ping-ipv6 Rename to md 2013-03-26 23:15:37 +01:00
powertrace Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
ravenusbstick llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security 2014-08-04 01:09:57 -07:00
rest-example SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
rime SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
seedeye/powerswitch Merge pull request #428 from g-oikonomou/config-sanity 2013-11-26 15:05:08 -08:00
sensinode Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
servreg-hack Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
settings-example core/lib/settings: Generalized Settings Manager to work on any platform 2013-03-20 11:57:13 -07:00
sky Add missing semi-colon 2014-07-16 21:37:47 +02:00
sky-ip Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
sky-shell Moved net/rime.h to net/rime/rime.h 2014-01-26 23:20:45 +01:00
sky-shell-exec Moved net/rime.h to net/rime/rime.h 2014-01-26 23:20:45 +01:00
sky-shell-webserver core/net/resolv: IPv6 and mDNS ("Bonjour") support. Major refactor. 2013-03-10 11:40:08 -07:00
tcp-socket Add a compile test for the tcp-socket example 2014-04-09 22:01:18 +02:00
telnet-server Added missing 'atarixl' Makefile defines. 2013-10-04 00:03:40 +02:00
trickle-library SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
udp-ipv6 Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
udp-stream SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
webbrowser Added mouse support for the Atari. 2014-01-20 22:51:40 +01:00
webserver Added missing 'atarixl' Makefile defines. 2013-10-04 00:03:40 +02:00
webserver-ipv6 Rename to md 2013-03-26 23:15:37 +01:00
webserver-ipv6-raven Rename to md 2013-03-26 23:15:37 +01:00
wget Added cmdline args support to wget example. 2014-01-24 12:44:23 +01:00
z1 Add function to change I2C baudrate and push relevant configuration values to platform config 2014-10-20 14:23:36 +02:00