Spence Konde (aka Dr. Azzy)
Spence Konde (aka Dr. Azzy)
Yes, it's related to a feature designed to improve analogWrite performance I'm surprised that this has gone unnoticed for this long,..
Can you please retest with current github? I just fixed several critical PWM bugs.
Yaknow, that "feature" was in for years u_u did you check it on the alt pin mapping for TCD or do I need to test that?
[What MX682X talked about has been merged in :-)](https://github.com/SpenceKonde/megaTinyCore/tree/master/megaavr/libraries/PTC) Please go bang on it with a hammer and find some bugs in it, folks :-)
byte data[1024]; will not use any memory if the data is never accessed - it will be optimized out. To prevent that, declare the array volatile. That will allow you...
```text Starting writes: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ writes: 128 -------------------------------------------------------------------------------------------------------------------------------- writes: 256 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ writes: 384 -------------------------------------------------------------------------------------------------------------------------------- writes: 512 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ writes: 640 -------------------------------------------------------------------------------------------------------------------------------- writes: 768 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ writes: 896 -------------------------------------------------------------------------------------------------------------------------------- writes: 1024 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ writes:...
I'm trying to comment on here without saying something that would be controversial, so all the ways this could have been a funny comment, sorry, couldn't come up with a...
Oh well that's a relief! I'm glad I haven't been claiming to support O2 and O3 all this time. On Mon, Jul 29, 2024 at 6:39 AM David Johnson-Davies <...
I think the solution you have come to - switching to static allocation - is the correct one. Using malloc on an AVR is generally inadvisable, and that applies especially...
I have no further understanding of the cause, but on second read it is abundantly obvious that this is a CRITICAL bug,