tyler314 / led_matrix

Micropython library used to control Adafruit's RGB LED matrix panel.
MIT License
3 stars 1 forks source link

set_pixel #24

Open untzag opened 6 years ago

untzag commented 6 years ago

it's time to start actually introducing code to address our LEDs

in the long run, we want to use simple setitem and getitem syntax (see #9)

as a stepping stone, I propose we create a very simple set_pixel method with arguments (i, j, color)

i, j integers, color hex string

this will allow us to focus on the simple problem of addressing the LEDs as separate from the syntactic sugar that we want to introduce