diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-08 15:17:47 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-08 15:17:47 +1100 |
commit | 898d4c1217e69497c67ca2ddb66641406a03700b (patch) | |
tree | bd55f50770afc479238181c7ca6307cd387a3882 /tests/extmod/framebuf1.py.exp | |
parent | ad166857bc93e519bca8c4f14523dcce654a5994 (diff) | |
download | micropython-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.exp | 1 |
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') |