GlowBit Advanced Features

Updated 21 April 2022

Single characters can be drawn on the display with:

matrix.drawChar(char, Px, Py, colour)

where:

  • char is a single-character long string
  • Px and Py specify the pixel coordinate of the upper left corner of the character
  • colour is a GlowBit colour value

Because matrix.drawChar() uses the MicroPython Viper code emitter all arguments are necessary when using the Raspberry Pi Pico. For example, to draw a white, lowercase, letter "a" on a single GlowBit Matrix 8x8 module:

import glowbit

matrix = glowbit.matrix8x8()

matrix.drawChar("a", 0, 0, matrix.white()) # Note inclusion of all arguments

The matrix.printTextWrap() function prints a string on a large display made from multiple GlowBit Matrix 8x8 modules. Each character requires an 8x8 pixel area, and scrolling is not intrinsically supported, so a detailed discussion of its use is left to the full documentation (TODO: Doxygen link).

Have a question? Ask the Author of this guide today!

Please enter minimum 20 characters

Your comment will be posted (automatically) on our Support Forum which is publicly accessible. Don't enter private information, such as your phone number.

Expect a quick reply during business hours, many of us check-in over the weekend as well.

Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.