summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsenijs <crimier@yandex.ru>2019-07-30 01:42:33 +0300
committerDamien George <damien.p.george@gmail.com>2019-07-31 23:45:24 +1000
commit00e7fe8ab109a21e62ce367ebd9cc6a5dfb48803 (patch)
treea971fa3c013cc1bc77c9284e0b359526ff4f32d2
parent48f43b77aa62b99147d52b794da26621bbd74ee8 (diff)
docs/library/framebuf: Add missing module reference in example code.
-rw-r--r--docs/library/framebuf.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/framebuf.rst b/docs/library/framebuf.rst
index ed4b78ab1..b6d7dba5d 100644
--- a/docs/library/framebuf.rst
+++ b/docs/library/framebuf.rst
@@ -19,7 +19,7 @@ For example::
import framebuf
# FrameBuffer needs 2 bytes for every RGB565 pixel
- fbuf = FrameBuffer(bytearray(10 * 100 * 2), 10, 100, framebuf.RGB565)
+ fbuf = framebuf.FrameBuffer(bytearray(10 * 100 * 2), 10, 100, framebuf.RGB565)
fbuf.fill(0)
fbuf.text('MicroPython!', 0, 0, 0xffff)