Commit Graph

6 Commits

Author SHA1 Message Date
Scott Shawcroft
73e04e84a2
Split out flash and psram settings from sdkconfig 2023-09-13 11:39:10 -07:00
Dan Halbert
d582407b06 pre-commit fixes 2023-08-14 00:59:22 -04:00
Melissa LeBlanc-Williams
5dc7e9472b Swapped address pins for Rev C 2023-07-03 12:08:10 -07:00
Melissa LeBlanc-Williams
46de2cb682 Add buttons and accelerometer interrupt 2023-06-13 07:59:33 -07:00
Jeff Epler
ce84ecf3f6
Fix flash size 2023-06-01 18:57:18 -05:00
Jeff Epler
2fb42579e8
Add minimally tested Adafruit MatrixPortal S3 board def
tested:
 * board.LED
 * neopixel as status LED
 * i2c scan finds lis3dh sensor
 * psram capacity

not tested:
 * rgb matrix      o_O
 * the gpio pins

Introduce new `board` properties for matrixportal-style boards:
 * MTX_COMMON
 * MTX_ADDRESS

These are intended to simplify use of the RGBMatrix constructor:
```py
matrix = RGBMatrix(..., addr_pins=MTX_ADDRESS[:3], **MTX_COMMON)
```
removing the need for sending in the following individual parameters:
 * rgb_pins
 * clock_pin
 * latch_pin
 * output_enable_pins
and making construction of a 16/32/64-row display easy by slicing a tuple
of all address pins rather than writing out the individual pins. If it
works out it'll be ported back to the matrixportal m4 as well.
2023-06-01 17:23:34 -05:00