import time from glcdfont import glcdfont from Adafruit_8x8 import EightByEight grid1 = EightByEight(address=0x70) grid2 = EightByEight(address=0x71) grid3 = EightByEight(address=0x72) grid1.setBrightness(8) grid2.setBrightness(8) grid3.setBrightness(8) font = glcdfont().getfont() #print(font) grid1.fillScreen() grid1.writeDisplay() time.sleep(.25) grid1.clear() grid2.fillScreen() grid2.writeDisplay() time.sleep(.25) grid2.clear() grid3.fillScreen() grid3.writeDisplay() time.sleep(.25) grid3.clear() for i in range (0, 24): grid1.drawLine(7,7-i,0,-16+i)
import time from glcdfont import glcdfont from Adafruit_8x8 import EightByEight grid1 = EightByEight(address=0x70) grid2 = EightByEight(address=0x71) grid3 = EightByEight(address=0x72) grid1.setBrightness(8) grid2.setBrightness(8) grid3.setBrightness(8) font = glcdfont().getfont() #print(font) grid1.fillScreen() grid1.writeDisplay() time.sleep(.25) grid1.clear() grid2.fillScreen() grid2.writeDisplay() time.sleep(.25) grid2.clear() grid3.fillScreen() grid3.writeDisplay() time.sleep(.25) grid3.clear() for i in range(0, 24): grid1.drawLine(7, 7 - i, 0, -16 + i)