-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Should be able to use syntax matrix[x,y] to both set and query the pixel value at [x,y]. It's working as expected for setting, but query is not. In the example below, both sets turned on the expected pixel. However, only [0,0] returned the correct value when queried.
Adafruit CircuitPython 3.0.1 on 2018-08-21; Adafruit Feather M0 Express with samd21g18
>>> import board, busio
>>> from adafruit_ht16k33.matrix import Matrix8x8
>>> i2c = busio.I2C(board.SCL, board.SDA)
>>> matrix = Matrix8x8(i2c)
>>> matrix.fill(0)
>>> matrix[0,0]
False
>>> matrix[0,0] = 1
>>> matrix[0,0]
True
>>> matrix[3,2]
False
>>> matrix[3,2] = 1
>>> matrix[3,2]
False
>>> Metadata
Metadata
Assignees
Labels
No labels