Hi, sorry for the basic question but I’m confused about the dimmer libraries.
I see two libraries in the Arduino Library Manager:
- RBDDimmer
- rbdimmerESP32
They look like they do the same thing but have different names. I have an ESP32 DevKit V1 and an rbdimmer 1CH module. Which library should I install?
I tried RBDDimmer first because it had more downloads, but I got a bunch of compilation errors about IRAM_ATTR and timer registers. Then I tried rbdimmerESP32 and it compiled fine.
So rbdimmerESP32 is the correct one for ESP32? If yes, why do both libraries exist? Is RBDDimmer outdated or for a different board?
Sorry if this is a dumb question, I’m still learning about microcontrollers and I don’t want to use the wrong library and damage something.