Meowbit Guide 13 - Neopixel

 Go back to Product Documents Navigation 

 Go back to Meowbit Documents Navigation 

 

Meowbit’s screen can be programmed to display various text or shapes.

Kittenblock Coding Tutorial

../_images/kbbanner.png

Blocks for controlling the screen

../_images/kb11_1.png../_images/kb11_2.png

Filling a color and clear screen

../_images/tft1.png

Drawing dots and lines

Lines must be given two coordinates for them to be drawn.

../_images/tft2.png

Drawing Rectangles and Circles

The coordinates of a rectangle represents its top-left corner, with width and height as w and h.
The coordinates of a circle represents its origin, with radius as r.

../_images/tft3.png

Drawing Triangles and Polygons

Give 3 coordinates as vertices to create a triangle.
The coordinates of a polygon represents its origin.

../_images/tft4.png

Displaying text

The coordinates are at the top-left corner of the string.
Traditional Chinese Characters are not supported yet.

../_images/tft5.png

 

 

If you have any question, please feel free to contact us at Discord, we will always be there to help.

 

KittenBot Team

 

 Go back to Product Documents Navigation 

 Go back to Meowbit Documents Navigation 

Leave a comment

Please note, comments need to be approved before they are published.