set read resolution to 12bit
This commit is contained in:
parent
07eeac0c9f
commit
0460b79db4
@ -57,6 +57,9 @@ void setup() {
|
||||
|
||||
blinkLED(2);
|
||||
|
||||
// TODO: test if works
|
||||
analogReadResolution(12); // set analog input to 12 bit resolution (0-4095)
|
||||
|
||||
if (!BLE.begin()) {
|
||||
Serial.println("starting Bluetooth® Low Energy module failed!");
|
||||
setStatus(DeviceStatus::ERROR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user