• Could you call getTime() a few times, and see if the value from it really does go up by 1 every second?

    I seem to recall ST changed the crystal halfway through manufacture of their F401Nucleo boards, so some run at a completely different speed to others! https://github.com/espruino/Espruino/iss­ues/457

    I imagine that could cause you some issues. I've used DS18B40 on the Espruino Wifi just a few days ago and it worked great, so it's not specifally a Espruino + STM32F4 issue.

About

Avatar for Gordon @Gordon started