m5stack / M5Cloud

Micropython Web IDE beta version
http://io.m5stack.com/
145 stars 34 forks source link

Is ADC working? #17

Closed sugarflower closed 6 years ago

sugarflower commented 6 years ago

I tried the following script. But we can only see strange values.

from m5stack import *
from machine import *

p35 = Pin(35,Pin.IN)
adc = ADC(p35)

adc.read()

The value does not become 0 even if it connects with GND, and the value is fluctuating wherever it connects