0845cac3b8
sys/arduino: provide implementation for analogWrite
2019-11-15 17:51:45 +01:00
c4bb2a2e17
sys/arduino: make ADC feature optional
2019-10-08 10:26:23 +02:00
Kees Bakker
d9e0c6c859
sys/arduino: use 64bit usec to compute millis()
...
This is quick solution to avoid wrapping around after 4294967 milliseconds.
It uses xtimer_now_usec64 instead of xtimer_now_usec.
Notice that this is more expansive than the previous solution, especially
on AVR systems.
2019-09-19 19:52:43 +02:00
Marian Buschsieweke
8cff47304b
sys/arduino: Make use of US_PER_MS in delay()
2019-08-29 13:57:56 +02:00
Marian Buschsieweke
27eca42f48
sys/arduino: Added millis()
...
Added arduino-compatilbe "unsigned long millis()"
2019-08-29 13:36:15 +02:00
Benjamin Valentin
9311e05fcf
sys/arduino: reduce scope of adc_line_state
...
This makes cppcheck happy.
2019-08-06 19:43:54 +02:00
Benjamin Valentin
e8dc1119b8
sys: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Federico Pellegrin
75c4dab3c7
sys/arduino: correct micros() return type
2018-10-12 17:40:37 +02:00
Federico Pellegrin
4960607a1e
sys/arduino: add arduino time functions micros() and delayMicroseconds()
2018-10-11 14:42:46 +02:00
Laurent Navet
9de00af063
cpu/atmega_common: add adc driver
2017-11-10 14:19:08 +01:00
3b1d67badd
sys/arduino: make arduino sketch works on avr based boards
2017-01-03 13:01:30 +01:00
Hauke Petersen
013eed7fa0
sys: adapted to GPIO changes
2016-03-17 14:55:30 +01:00
Hauke Petersen
7855cb3707
sys: added module for running Arduino code
2015-11-27 12:45:12 +01:00