Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
eb09336e
Commit
eb09336e
authored
Sep 06, 2016
by
Radomir Dopieralski
Committed by
Damien George
Dec 01, 2016
Browse files
drivers/display/ssd1306.py: Update to use FrameBuffer not FrameBuffer1
parent
225e22b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/display/ssd1306.py
View file @
eb09336e
...
...
@@ -32,7 +32,7 @@ class SSD1306:
self
.
external_vcc
=
external_vcc
self
.
pages
=
self
.
height
//
8
self
.
buffer
=
bytearray
(
self
.
pages
*
self
.
width
)
self
.
framebuf
=
framebuf
.
FrameBuffer
1
(
self
.
buffer
,
self
.
width
,
self
.
height
)
self
.
framebuf
=
framebuf
.
FrameBuffer
(
self
.
buffer
,
self
.
width
,
self
.
height
,
framebuf
.
MVLSB
)
self
.
poweron
()
self
.
init_display
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment