# John Park&#39;s CircuitPython Parsec: Map Range

> Episode of [Adafruit Industries](https://podistic.com/podcast/adafruit-industries.md) · Published June 11, 2021 · Duration 2:15

- **Listen on Podistic:** https://podistic.com/episode/john-park39-s-circuitpython-parsec-map-range
- **Video:** https://adafruit-podcasts.s3.amazonaws.com/media/KVLgzVDNV4I_360.mp4 (video/mp4)

## About this episode

#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/
-----------------------------------------
