„examples/solar-monitoring.py“ ändern

This commit is contained in:
robert 2024-02-01 07:49:53 +00:00
parent f2fab00d2f
commit e901d8db8f

View File

@ -1,11 +1,11 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding:utf-8 -*- # -*- coding:utf-8 -*-
#import sys import sys
#import os import os
#picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'pic') picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'pic')
#libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'lib') libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'lib')
#if os.path.exists(libdir): if os.path.exists(libdir):
# sys.path.append(libdir) sys.path.append(libdir)
import logging import logging
from waveshare_epd import epd2in13b_V3 from waveshare_epd import epd2in13b_V3