From 5665545f8f63f0960c0967e37c984594367677cc Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Wed, 25 Oct 2017 22:09:06 +0200 Subject: [PATCH] Remove useless sample code --- Arduino/McLighting/McLighting.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 941c967..1979818 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -376,8 +376,8 @@ void setup() { server.on("/esp_status", HTTP_GET, []() { String json = "{"; json += "\"heap\":" + String(ESP.getFreeHeap()); - json += ", \"analog\":" + String(analogRead(A0)); - json += ", \"gpio\":" + String((uint32_t)(((GPI | GPO) & 0xFFFF) | ((GP16I & 0x01) << 16))); + // json += ", \"analog\":" + String(analogRead(A0)); + // json += ", \"gpio\":" + String((uint32_t)(((GPI | GPO) & 0xFFFF) | ((GP16I & 0x01) << 16))); json += "}"; server.send(200, "text/json", json); json = String();