5 lines
56 B
Python
5 lines
56 B
Python
|
from machine import ADC
|
||
|
|
||
|
ldr = ADC(0)
|
||
|
|
||
|
print(ldr.read())
|