microrobotics icon

W12915

microrobotics | PRO | 08/30/17 08:26:43 AM UTC | 0 ⭐ | 961 👁️ | Never ⏰ | []
C |

920 B

|

None

|

0 👍

/

0 👎

print '------------init and Clear full screen------------'
disp.Dis_Clear_full()
 
#Show full pic
print '------------Show full pic------------'
disp.Dis_full_pic(waveshare)
time.sleep(DELAYTIME)
 
#init and Clear part screen
print '------------init and Clear part screen------------'
disp.Dis_Clear_part()
 
#Show part pic
print '------------Show part pic------------'
disp.Dis_part_pic(0,xDot-1,0,yDot-1,waveshare)
time.sleep(DELAYTIME)
 
#Drawing
print '------------Show Circle and Line------------'
disp.Dis_Drawing((yDot-32)/8-2,0,Circle3232,32,32) #Circle
disp.Dis_Drawing((yDot-32)/8-2,4,Line3232,32,32) #Line
time.sleep(DELAYTIME)
 
#String
print '------------Show string------------'
disp.Dis_String(0, 10, "WELCOME EPD",16)
disp.Dis_String(0, 26, "I am an electronic paper display",12)
time.sleep(DELAYTIME)
 
#Progress
print '------------Show Progress------------'
disp.Dis_Progress(9)    
time.sleep(DELAYTIME)

Comments