From 0460b79db47db0b15fd0e059ece0d50ebc0dc1fa Mon Sep 17 00:00:00 2001 From: "Matthias@Dell" Date: Sat, 24 Jun 2023 12:13:44 +0200 Subject: [PATCH] set read resolution to 12bit --- teng/teng.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teng/teng.ino b/teng/teng.ino index d5c1cbe..6ac9231 100644 --- a/teng/teng.ino +++ b/teng/teng.ino @@ -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);