diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 21:13:48 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 21:13:48 +0200 |
commit | 120ac51294ddae7b479c916382cd8be96f39cf2d (patch) | |
tree | ca77f93356850223fa7a1c6320e83af45b6b2a0a /vote | |
parent | 7f68479a6cd40233271850e206ac68c13c302e98 (diff) |
compose plotter data with printf() (not println())
Diffstat (limited to 'vote')
-rw-r--r-- | vote/vote.ino | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vote/vote.ino b/vote/vote.ino index caa4fbc..bce78ef 100644 --- a/vote/vote.ino +++ b/vote/vote.ino @@ -191,7 +191,8 @@ class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks { String id_mangled = advertisedDevice.getName(); id_mangled.replace(' ', '_'); id_mangled.replace(':', '='); - Serial.println(id_mangled + ":" + EddystoneTLM.getTemp()); + Serial.printf("%s:%d\n", + id_mangled.c_str(), EddystoneTLM.getTemp()); #endif unsigned long now = millis(); |