Toggle Navigation
Hatchery
Eggs
Testing 123
__init__.py
Users
Badges
Login
Register
__init__.py
raw
Content
>>> print ("Hello world") Hello world >>> import display >>> display.drawFill(0xff0000) >>> display.flush() >>> display. BLACK BLUE CYAN FLAG_CLEAR_DEPTH FLAG_FORCE FLAG_FULL FLAG_LUT_FAST FLAG_LUT_FASTEST FLAG_LUT_GREYSCALE FLAG_LUT_NORMAL GREEN MAGENTA ORIENTATION_LANDSCAPE ORIENTATION_PORTRAIT ORIENTATION_REVERSE_LANDSCAPE ORIENTATION_REVERSE_PORTRAIT RED WHITE YELLOW backlight clearDepth clearMatrix defaultFillColor defaultTextColor drawCircle drawFill drawLine drawPixel drawPng drawQuad drawRaw drawRect drawText drawTri drawTriangle flush get3D getMatrix getPixel getTextHeight getTextWidth height listFonts matrixSize mch22 orientation pngInfo popMatrix pushMatrix rotate scale set3D setDefaultFont setMatrix size transformPoint translate width windowCreate windowFocus windowHide windowList windowMove windowRemove windowRename windowShow windowVisibility brightness >>> display.drawText(Hello I am awesome) Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> display.drawText(xy hello) Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> display.drawText("I am awesome") Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: function missing 2 required positional arguments >>> display.drawtext(0,0 "I am awesome") Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> display.drawText(0,0"I am Awesome") Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> display.drawText(0,0 "I am Awesome") Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> display.drawText(30,30 "I am awesom") Traceback (most recent call last): File "<stdin>", line 1 SyntaxError: invalid syntax >>> import display >>> display.drawText(30,30, "Hello World") >>> display.flush <function> >>> display.flush() >>> display.drawText (40,40, "I am awesome") >>> display.flush() >>> display.flush()