Skip to content

Commit b3833f0

Browse files
author
Sergey Moryakov
committed
Fixed usage example
1 parent 432eebb commit b3833f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ from st7565 import ST7565
2626
RST = Pin(16, Pin.OUT)
2727
A0 = Pin(0, Pin.OUT)
2828
CS = Pin(15, Pin.OUT)
29+
spibus = SPI(1, baudrate=1000000, polarity=1, phase=1)
2930

3031
display = ST7565(spibus, A0, CS, RST)
3132
display.fill(1)

0 commit comments

Comments
 (0)