This website requires JavaScript.
Explore
Help
Sign In
python
/
micropython-examples
Watch
1
Star
0
Fork
You've already forked micropython-examples
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
69d083a0dd
micropython-examples
/
ldr
/
ldr.py
8 lines
108 B
Python
Raw
Blame
History
from
machine
import
ADC
from
time
import
sleep
ldr
=
ADC
(
0
)
while
True
:
print
(
ldr
.
read
(
)
)
sleep
(
1
)
Reference in New Issue
View Git Blame
Copy Permalink