„examples/solar-monitoring.py“ ändern
This commit is contained in:
parent
f2fab00d2f
commit
e901d8db8f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user