Ameba MicroPython: [RTL8722CSM] [RTL8722DM] ADC - Read potentiometer
- Ameba x 1, Potentiometerx 1
Here we connect ameba to a potentiometer to measure its analogue value, the connection is as follows.
Copy and paste the following code into REPL.
import socket a = ADC(0) a.read()
Realtek IoT/Wi-Fi MCU Solutions . All Rights Reserved.