A higher level library for working with the DotStar FeatherWing, build on top of the CircuitPython DotStar driver.
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.
import board
import dotstar_featherwing
wing = dotstar_featherwing.DotstarFeatherwing(board.D13, board.D11)
xmas = ["..y.w......w",
"..G.....w...",
"..G..w....w.",
".GGG...w....",
"GGGGG.......",
"wwwwwwwwwwww"]
xmas_colours = {'w': (0x20, 0x20, 0x20),
'W': (0xFF, 0xFF, 0xFF),
'G': (0x00, 0x20, 0x00),
'y': (0x20, 0x20, 0x00),
'Y': (0xFF, 0xFF, 0x00)}
wing.display_coloured_image(xmas, xmas_colours)
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
api