summaryrefslogtreecommitdiff
path: root/docs/library
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2017-07-15 15:53:47 +0200
committerDamien George <damien.p.george@gmail.com>2017-12-14 17:13:02 +1100
commit34247465c34113bb26f6c9582ea31f31b0ea0d1b (patch)
tree5f041a343b1513be8ed0170d100eadce141691a3 /docs/library
parent36f79523abe8d79fec1cc7af41e8e96e8ceb2cc4 (diff)
extmod/modframebuf: Add 2-bit color format (GS2_HMSB).
This format is used in 2-color LED matrices and in e-ink displays like SSD1606.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/framebuf.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/library/framebuf.rst b/docs/library/framebuf.rst
index 74c9f8564..4f0026e38 100644
--- a/docs/library/framebuf.rst
+++ b/docs/library/framebuf.rst
@@ -148,6 +148,10 @@ Constants
Red Green Blue (16-bit, 5+6+5) color format
+.. data:: framebuf.GS2_HMSB
+
+ Grayscale (2-bit) color format
+
.. data:: framebuf.GS4_HMSB
Grayscale (4-bit) color format