Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Analogue Signals | ||||||||
Line: 17 to 17 | ||||||||
| ||||||||
Added: | ||||||||
> > | ||||||||
You find a description of the MicroPython driver in the doc again. The ADC works for a range of 0..1V only while the potentiometer produces signal levels of 0..3.3V. A signal attenuator allows adapting the ranges. It must be set to ADC.ATTN_11DB for our 0..3.3V slider. | ||||||||
Added: | ||||||||
> > | ||||||||
from machine import ADC,Pin from time import sleep_ms | ||||||||
Line: 34 to 37 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|