set read resolution to 12bit

This commit is contained in:
Matthias@Dell 2023-06-24 12:13:44 +02:00
parent 07eeac0c9f
commit 0460b79db4

View File

@ -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);