From cef274911175f9da18fac013503240dd00b5b373 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sat, 6 Apr 2019 20:52:43 +0200 Subject: [PATCH] first command works --- RgbLed.cpp | 2 +- configuration.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RgbLed.cpp b/RgbLed.cpp index b4cd417..3e5dcfd 100644 --- a/RgbLed.cpp +++ b/RgbLed.cpp @@ -28,7 +28,7 @@ void setup() { pinMode(CONFIG_SWITCH, INPUT_PULLUP); - EEPROM.begin(512); + EEPROM.begin(1024); EEPROM.get(EEPROM_ADDR, configBlock); diff --git a/configuration.cpp b/configuration.cpp index 41b9f92..3de632e 100644 --- a/configuration.cpp +++ b/configuration.cpp @@ -349,7 +349,7 @@ void configServeGetConfiguration() { showConfiguration(); - EEPROM.begin(512); + EEPROM.begin(1024); EEPROM.put(EEPROM_ADDR, configBlock); EEPROM.commit(); @@ -430,4 +430,4 @@ void showConfiguration() { Serial.println("---"); -} \ No newline at end of file +}