mirror of
https://github.com/micropython/micropython.git
synced 2026-01-09 05:30:27 +01:00
This changes the freq() and duty_u16() functions to use more simpler, more accurate formulas, in particular increasing the frequency accuracy from a few percent to a fraction of a percent in many cases. Signed-off-by: Paul Grayson <pdg@alum.mit.edu>