Search found 1 match

by wael
Fri May 28, 2021 6:57 am
Forum: Raspberry Pi microcontroller boards
Topic: How to read Map() function in micropython?
Replies: 11
Views: 28718

How to read Map() function in micropython?

I'm new to micropython. How to write Map() function in micropython? In arduino C: int mappedValue; int moistureValue = analogRead(A0); mappedValue = map(moistureValue,AirValue,WaterValue, 0, 100); How toconvert it into micropython? How to use the library? I use Thonny but where I can see the example...