Hi Graham, you may just be unlucky... The STM32 has a bunch of timers, but not enough for each pin - so sometimes if you set one pin and it uses a timer that was in use by another, it gets reset.
I guess this is something that we could warn about with a little work...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Graham, you may just be unlucky... The STM32 has a bunch of timers, but not enough for each pin - so sometimes if you set one pin and it uses a timer that was in use by another, it gets reset.
I guess this is something that we could warn about with a little work...