Search found 4 matches

by frank0
Wed Apr 17, 2024 9:49 am
Forum: ESP32 Arduino
Topic: No Servo library compiling - LEDC errors
Replies: 2
Views: 2525

Re: No Servo library compiling - LEDC errors

Yes, you will have to wait for other people to fix the code you want to use. There is no reason for you to be on the bleeding edge if you don't know how to fix it. arduino-esp32 v2.0.15 was released last week and the libraries will work well with it. Thank you very much for confirming my suspicion....
by frank0
Tue Apr 16, 2024 7:54 pm
Forum: ESP32 Arduino
Topic: No Servo library compiling - LEDC errors
Replies: 2
Views: 2525

No Servo library compiling - LEDC errors

Beginner trying to use a servo for the first time. Tried a whole bunch of different servo libraries and examples, but none of the code compiles. All errors point to the LEDC API, and it seems there are breaking changes in 3.0 that have not been updated in those libraries. For example: ESP32Servo\src...
by frank0
Sun Apr 07, 2024 1:39 pm
Forum: ESP32 Arduino
Topic: Store number over 1 byte in EEPROM
Replies: 3
Views: 2450

Re: Store number over 1 byte in EEPROM

Thank you both for the info, all working well now with preferences instead :)
by frank0
Wed Mar 20, 2024 10:53 am
Forum: ESP32 Arduino
Topic: Store number over 1 byte in EEPROM
Replies: 3
Views: 2450

Store number over 1 byte in EEPROM

New to this, trying to store a persistent number between boots but it rolls over after 8 bits. Works as expected until I hit 256. Is each address only capable of holding a byte? How do I abstract that away to store larger numbers? #include <EEPROM.h> #define EEPROM_SIZE 512 int numClick = 0; in setu...