abdf6f8c6b
Now the necessary settings are in adc.h. Refactored to allow repeated ADC reads without reinitialization. Arduino allows setting analogReference, this is now also implemented. ADC is now initialized to sane values in apps/arduino/arduino-process.c dev/arduino/arduino-compat.h now has all hardware independent settings for arduino (some moved from platform/osd-merkur/dev/hw-arduino.h). turnOffPWM re-implemented with hw_timer, removed from wiring_digital.c ADC-specific arduino stuff moved to arduino-compat.h Arduinos wiring_analog no longer necessary. arduino-sketch example now reads analog inputs 1 and 5 using analogRead. |
||
---|---|---|
.. | ||
6lowpan-tk | ||
arduino-merkurboard | ||
arduino-sketch | ||
climate | ||
dual-rgbw-actor | ||
embedd-vm-merkurboard | ||
er-rest-example-merkurboard | ||
light-actor | ||
light-shutter-control | ||
merkurboard | ||
native-border-router | ||
pingtheplug | ||
pir-sensor | ||
powerbox | ||
pwm-example | ||
rpl-border-router | ||
servo-sensor | ||
slip-radio | ||
wallclock-time | ||
wirelessplug | ||
.gitignore | ||
README | ||
runall.sh |
OSDOMOTIS www.osdomotics.com Plattform: osd-merkur