test
This commit is contained in:
parent
b87a9ae601
commit
d3173e64c2
1 changed files with 1 additions and 6 deletions
7
oled.py
7
oled.py
|
@ -26,10 +26,5 @@ display.fill(0)
|
|||
|
||||
display.show()
|
||||
|
||||
# Set a pixel in the origin 0,0 position.
|
||||
display.pixel(0, 0, 1)
|
||||
# Set a pixel in the middle 64, 16 position.
|
||||
display.pixel(64, 16, 1)
|
||||
# Set a pixel in the opposite 127, 31 position.
|
||||
display.pixel(127, 31, 1)
|
||||
display.text("Test", 0, 0, (255,255,255), size=1)
|
||||
display.show()
|
||||
|
|
Loading…
Reference in a new issue