Meowbit MicroPython API
Meowbit MicroPython API
Import Meowbit library
from meowbit import *Meowbit String Display
Display English
screen.text(text, x=0, y=0, ext=1, color=255)Display Chinese
screen.textCh(text, x=0, y=0, ext=1, color=255)Sample Program
Meowbit Display Shapes
Screen Fill
Draw Pixel
Draw Line
Sample Program
Draw Rectangle
Draw Circle
Draw Triangle
Draw Polygon
Sample Program
Screen Refresh
Set Screen Auto Sync
Sample Program
Meowbit Display Picture
Show bmp
Show gif
Sample Program
Meowbit Buttons
Get Button Status
Button Triggers
Sample Program
Meowbit LED
Turn On / Off
Toggle Switch
Brightness Control
Sample Program
Meowbit Buzzer
Buzzer Tone
Buzzer Note
Buzzer Rest
Buzzer Melody
Buzzer Stop
Sample Program
Meowbit Sensors
Temperature Sensor
Light Sensor
Sample Program
Meowbit Accelerometer
Acceleration Value
Gyro Value
Roll Degree
Pitch Degree
Gesture
Gesture Trigger
Sample Program
GPIO
Initiate GPIO Pin mode
Digital Read
Analog Read
Digital Write
Analog Write
Sample Program
Last updated