Add ldr
This commit is contained in:
parent
368a8d5015
commit
98fd5f6742
|
@ -0,0 +1,5 @@
|
||||||
|
from machine import ADC
|
||||||
|
|
||||||
|
ldr = ADC(0)
|
||||||
|
|
||||||
|
print(ldr.read())
|
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
Loading…
Reference in New Issue