You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yep - setWatch is nice and easy (and accurate on STM32F4), but being JS execution is slowish you'll struggle at much above 1kHz - but as @Jean-Philippe_Rey points out you may be able to modify your circuit to lower the frequency.

    The link I posted above should be pretty much copy/paste and will give you nice accurate results for the higher frequencies though


Avatar for Gordon @Gordon started