Prepare the material: RTL8722 x 1, potentiometer x 1
Connects RTL8722 to read its numerical a potentiometer, the connection way below

After connect, copy and paste the following code to the REPL, ADC values can directly read out, simple and convenient
From the machine import ADC
A=ADC (0)
A.r ead ()