20 lines
219 B
Python
20 lines
219 B
Python
'''
|
|
Select images as required
|
|
True for image1
|
|
False for image2
|
|
'''
|
|
|
|
import time
|
|
|
|
from . import image
|
|
|
|
|
|
Img = image.image()
|
|
|
|
while True:
|
|
if Img.flgh:
|
|
Img.HMI1()
|
|
else:
|
|
Img.HMI2()
|
|
time.sleep(1)
|