summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/framebuf1.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-08 15:17:47 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-08 15:17:47 +1100
commit898d4c1217e69497c67ca2ddb66641406a03700b (patch)
treebd55f50770afc479238181c7ca6307cd387a3882 /tests/extmod/framebuf1.py.exp
parentad166857bc93e519bca8c4f14523dcce654a5994 (diff)
downloadmicropython-898d4c1217e69497c67ca2ddb66641406a03700b.tar.gz
micropython-898d4c1217e69497c67ca2ddb66641406a03700b.zip
extmod/modframebuf: Make framebuf implement the buffer protocol.
So that one can easily access the underlying data of the frame buffer, eg to write the data out to a display.
Diffstat (limited to 'tests/extmod/framebuf1.py.exp')
-rw-r--r--tests/extmod/framebuf1.py.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/extmod/framebuf1.py.exp b/tests/extmod/framebuf1.py.exp
index dae02ad868..4a83a2e9c8 100644
--- a/tests/extmod/framebuf1.py.exp
+++ b/tests/extmod/framebuf1.py.exp
@@ -1,3 +1,4 @@
+0
bytearray(b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff')
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
bytearray(b'\x01\x00\x00\x00\x01\x80\x00\x00\x00\x80')