# testing pye and LCD import os import random from Eval2p4 import ILI934X ili=ILI934X(32) ili.cls(ili.Navy) ili.filledcircle(160,120,80,ili.Red) ili.line(0,0,ili.width-1,ili.height-1,ili.Blue) for _ in range(1000): x = int(random.random() * ili.width) y = int(random.random() * ili.height) c = int(random.random() * 0xFFFF) ili.setpixel(x,y,c) ili.filledrect(100,100,200,200,ili.Teal) ili.circle(5,15,100,ili.White) ili.loadfont("progoco.dat") ili.str("This is ProgoCo") ili.loadfont("parallax1.dat") ili.setrow(2) ili.setcol(2) ili.fore(ili.Teal) ili.str("Parallax Font") ili.loadfont("large1.dat") ili.setrow(3) ili.setcol(0) ili.fore(ili.Yellow) ili.str("Large") print("ili ready.")