EPISODE · Jun 11, 2021 · 2 MIN
John Park's CircuitPython Parsec: Map Range
from Adafruit Industries · host Adafruit Industries
#circuitpythonparsec Use the map_range function of the Simplemath 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! To learn about CircuitPython: https://circuitpython.org Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
What this episode covers
#circuitpythonparsec Use the map_range function of the Simplemath 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! To learn about CircuitPython: https://circuitpython.org Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------
NOW PLAYING
John Park's CircuitPython Parsec: Map Range
No transcript for this episode yet
Similar Episodes
May 13, 2026 ·32m
May 12, 2026 ·45m
May 11, 2026 ·33m
May 6, 2026 ·33m
May 5, 2026 ·14m
May 4, 2026 ·35m