firmata / arduino

Firmata firmware for Arduino
GNU Lesser General Public License v2.1
1.53k stars 515 forks source link

Arduino Zero uses 12-bit ADC #199

Open soundanalogous opened 9 years ago

soundanalogous commented 9 years ago

Configuration query for Arduino Zero should return 12 rather than 10 for analog pins.

Check for a constant in pins_arduino.h that defines the analog resolution. If that doesn't exist, add it to board.h in Firmata.

Also revisit this work: https://github.com/firmata/arduino/pull/174.

soundanalogous commented 8 years ago

It defaults to 10 bits so this is okay for now. Support will be added via #174.