1
0
Fork 0

docs: add comments explaining why keep Pin import for battery

Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
This commit is contained in:
thiswillbeyourgithub 2022-09-20 11:06:02 +02:00
parent 752fe77376
commit dae4f3d9ce

View file

@ -5,6 +5,8 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"""
import micropython
# don't remove Pin import even though your IDE tells you it's unused, otherwise
# micropython can't load your battery level.
from machine import Pin, ADC
class Battery(object):