osd-contiki/apps
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
..
about 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
antelope Avoid compilation warnings in Antelope. 2014-09-05 18:21:47 +02:00
arduino Add Arduino compatibility layer 2014-11-19 13:48:05 +01:00
calc 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
cmdd 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
codeprop [doc] added faulty esb and msp430 references 2014-11-10 23:53:32 +01:00
collect-view Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
deluge Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
dhcp Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
directory 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
email Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
er-coap er-coap (observe): fix possible duplicate value for observe option in GET response and subsequent notification 2014-08-24 19:07:36 +02:00
ftp Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
http-post-auth Changed the parameter 'char * data' of process_start to the 2014-06-12 13:40:28 +02:00
httpd-ws 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
irc Moved the ctk files from core/lib into core/lib/ and core/lib/libconio 2014-01-26 23:20:46 +01:00
json New MACRO for creating jsontree_array 2014-02-26 19:38:10 +01:00
netconf 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
ping6 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
powertrace Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
process-list 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
program-handler [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
rest-coap Converted u8_t to uint8_t and u16_t to uint16_t in the apps directory. 2012-02-21 08:33:25 -05:00
rest-common Port apps, examples, platforms and tools so they use the new neighbor and route API. 2013-08-19 17:48:30 +02:00
rest-engine Used Uncrustify and fixed Travis build errors. 2014-05-15 20:29:04 +02:00
rest-http Converted u8_t to uint8_t and u16_t to uint16_t in the apps directory. 2012-02-21 08:33:25 -05:00
serial-shell [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
servreg-hack [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
shell [doc] Give files a common structure by placing license first (partial) 2014-11-10 23:54:49 +01:00
slip-cmd Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
telnet 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
telnetd 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
time Add wallclock time handling 2014-11-19 13:43:45 +01:00
unit-test Do not return test execution status. The information is already available in the test object, and it becomes possible for test function to easily clean up state allocated during the test by putting such code after UNIT_TEST_END. 2011-12-01 14:40:54 +01:00
webbrowser Avoid compiler warnings. 2014-02-01 00:46:57 +01:00
webserver Bumped the version number from 2.6 to 3.x, which is to be used in the development branch 2013-12-12 17:33:18 +01:00
webserver-nano 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