Frank
Frank
Hi, I've started this topic without knowing much of what I was talking about, mainly hoping that there would be a way to have more LED output pins on -S3....
+1 👍 for merging this into development.
Just curious - does "CPU clock / 2" mean that the ISR would be called at 8Mhz on a 16Mhz processor? Hope not, otherwise the ISR would only have two...
another idea - it seems that MegaCoreX has a different implementation, see https://github.com/MCUdude/MegaCoreX/blob/master/megaavr/cores/coreX-corefiles/wiring.c. Their ISR is very small, several clock freqs are supported, and other fancy stuff. https://github.com/MCUdude/MegaCoreX/commit/298601ba1c0cf83d1ee26130d7afed0f27a51b9d Does MegaCoreX...
Just looked into DxCore, and saw that two things are done differently: - TWI baud rate calculation has an offset that depends on CPU speed - setting of a register...
@blazoncek @Aircoookie as we have "per-bus auto brightness limiter" in 0.15, does this PR still provide additional value to users? Or should we close it as outdated?
Loses due to inactivity.
Found this recently, where a lookup table is used for achieving LED brightness curves that look linear to the human eye. Looks easy: https://github.com/Zanduino/SmoothLED_8bit https://github.com/Zanduino/SmoothLED_10bit/wiki/CIE1931-Compensation https://github.com/Zanduino/SmoothLED_10bit > A common misconception...
> @softhack007 I'm sorry but this is totally off topic, it's atmega code, useless with ESP. Why? Its essentially a lookup-table. That's not specific to atmega or ESP32. My idea...
@mcer12 wrote > Here's a great article about this with a python script to generate the lookup table. I personally used this for one of my projects and it's really...