Open BMBIT-oss opened 4 years ago
So I have done some more research and it looks like the example is working on a ESP 8266 , any body knows why is not working on Uno / Nano ? anything to do with the eeprom ?
Hi, Maybe your problem is related to issue #23 ? Change these lines in the example
const unsigned long upCourseTime = 30 * 1000;
const unsigned long downCourseTime = 45 * 1000;
for example like that
const unsigned long upCourseTime = 30u * 1000;
const unsigned long downCourseTime = 45u * 1000;
After these changes it's working on Mega.
You could also uncomment
#define DEBUG
in Shutters.h to see what's going on.
I have discovered why is not working , It's something to do with the Eeprom . It works as intended on ESP 8266 , but on Nano , Uno , Mega I had to comment everything related about the ESP 8266 Eeprom (flash) specific settings like :
EEPROM.begin(512);
Maybe somebody has an Idea what going on , but this was the fix , to have it working on non ESP devices .
Hi Marvin , I'm trying to use your library and start with the example provided , but it doesn't work . I set the new level from the serial monitor and nothing happens , level always stays @ 255 . I'm using Arduino IDE 1.8.7 Can you please help me in this matter. Thank you .