Just to say I noticed another problem (caused by modifying the APB clocks to fix USB), and in the process of fixing that I believe I've just fixed this. It turns out that different timers run off of different clock sources (APB1 or APB2) and each is a different speed.
Maybe you could try the next nightly (I only just committed the change) and see if that fixes the problem?
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,
Just to say I noticed another problem (caused by modifying the APB clocks to fix USB), and in the process of fixing that I believe I've just fixed this. It turns out that different timers run off of different clock sources (APB1 or APB2) and each is a different speed.
Maybe you could try the next nightly (I only just committed the change) and see if that fixes the problem?
thanks!