Introduction
Helper library for the Monster M4sk device. Allows usage of screens and other built-in hardware.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Installing from PyPI
Usage Example
import board
import displayio
from adafruit_display_shapes.circle import Circle
import adafruit_monsterm4sk
SCREEN_SIZE = 240
i2c_bus = board.I2C()
mask = adafruit_monsterm4sk.MonsterM4sk(i2c=i2c_bus)
left_group = displayio.Group()
mask.left_display.root_group = left_group
right_group = displayio.Group()
mask.right_display.root_group = right_group
right_circle = Circle(SCREEN_SIZE // 2, SCREEN_SIZE // 2, 40, fill=0x0000FF)
right_group.append(right_circle)
left_circle = Circle(SCREEN_SIZE // 2, SCREEN_SIZE // 2, 40, fill=0x00AA66)
left_group.append(left_circle)
while True:
pass
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Metadata
Release files for adafruit-circuitpython-monsterm4sk 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adafruit_circuitpython_monsterm4sk-1.0.9.tar.gz | 33.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| adafruit_circuitpython_monsterm4sk-1.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.5 kB
Release files / adafruit_circuitpython_monsterm4sk-1.0.9.tar.gz
| Download URL | adafruit_circuitpython_monsterm4sk-1.0.9.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d21abd46472bce092c6b0c847c4e9db028db80827c8d837c4aca02039a65587
|
|
BLAKE2b-256 checksum How to use checksums |
82540b8b3d836fd611b4a8f7d4868653d8e30c558c26384dc4eff5d183a14eec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / adafruit_circuitpython_monsterm4sk-1.0.9-py3-none-any.whl
| Download URL | adafruit_circuitpython_monsterm4sk-1.0.9-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eace625f202e3bd24362620d4643309834c9abdd0fd3e9a639404703d4ddc01e
|
|
BLAKE2b-256 checksum How to use checksums |
e87b37f5e61313327fb857fb8f4a31ffc5dd8fa2e6f14a8f0b1b91d45077cb83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|