summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 10:52:40 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-12-22 10:52:40 +0100
commit5276faefe6ff6e529978d2839d762125e7fd78fa (patch)
tree24a7ae5377f0e216d2bbee7c65767bde7d23c250
parent271500e4bcb3403f808f0d2c192712c207ea4d3d (diff)
datalogger: report raw ads111x value
-rw-r--r--src/app/datalogger/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/datalogger/main.cc b/src/app/datalogger/main.cc
index 1575891..5e3208f 100644
--- a/src/app/datalogger/main.cc
+++ b/src/app/datalogger/main.cc
@@ -67,7 +67,7 @@
void loop(void)
{
#ifdef CONFIG_driver_ads111x
- kout << "Reading: ";
+ kout << "Reading: " << ads111x.readRaw() << " = ";
kout.printf_float(ads111x.readVoltage());
kout << " V" << endl;
#endif