• That's amazing - thanks! I managed to reproduce it!

    In fact, by copying in all the code and then deleting stuff I got it down to this:

    digitalPulse(B7,0,10);
    analogWrite(A0,0.5, {freq:1});
    

    And I can reproduce it on the Pico and WiFi boards too - this is a really big issue and I'm amazed that nobody has noticed this before.

    Basically the utility timer (used for soft PWM, digitalPulse, and Waveforms) uses TIM5 too it seems, so TIM5 should have been taken out of the list of available timers - but it wasn't.

    It's getting late here but I'll make sure I sort this out first thing next week.

About

Avatar for Gordon @Gordon started