- 
                Notifications
    
You must be signed in to change notification settings  - Fork 73
 
Open
Description
#include "AiEsp32RotaryEncoder.h"
#include <EEPROM.h>
byte PreFIX = 0;
byte Fixer, Prefix;
EEPROM.writeByte(PreFIX, Fixer);
PreFIX += sizeof(byte);
EEPROM.commit();
Having the script to store a byte to EEPROM and a photodiode to take intervals every 500ms.
Rotary potmeter to save the byte with.
When that byte is stored, it is always readen as 128 in value.
If the store rutine is moved to its own script, with no other functions in, it will store and read correct value.
Are there any issues with AiEsp32RotaryEncoder.h and EEPROM.h?
Metadata
Metadata
Assignees
Labels
No labels