, , &

John Park’s CircuitPython Parsec: Map Range @adafruit @johnedgarpark #adafruit #circuitpython

Source Node: 892105

Use the map_range function of the Simple math library to re-map numbers to a new range. Potentiometer giving you 0 – 65520 but you really need 64 – 127? Map_range has got you covered!

Learn more about CircuitPython

Source: https://blog.adafruit.com/2021/06/11/john-parks-circuitpython-parsec-map-range-adafruit-johnedgarpark-adafruit-circuitpython/

Time Stamp:

More from Adafruit Industries – Makers & hackers & artists & designers and engineers!