How to read Map() function in micropython?
Re: How to read Map() function in micropython?
Another slightly different approach is taken by CircuitPython's map_range() function
-
- Posts: 18
- Joined: Mon Jan 16, 2017 3:58 am
Re: How to read Map() function in micropython?
That's from the SimpleIO library, which is a miscellaneous collection of things. We recently made a new library, SimpleMath, with a few different range and constrain functions: https://github.com/adafruit/Adafruit_Ci ... plemath.pyscruss wrote: ↑Wed Jun 16, 2021 3:31 amAnother slightly different approach is taken by CircuitPython's map_range() function