docs/library/framebuf: Add missing module reference in example code.

This commit is contained in:
Arsenijs 2019-07-30 01:42:33 +03:00 committed by Damien George
parent 48f43b77aa
commit 00e7fe8ab1
1 changed files with 1 additions and 1 deletions

View File

@ -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)