LED Screen

Each little LED can be programmed

There is a 5 x 5 Grid - 5 Across and 5 Down

Each LED has a specific X,Y Coordinate but there is ONE problem - the GRID numbers are 0, 1, 2, 3, 4

So here is the grid pattern for the LED lights in the checkerboard pattern above

The technical term for turning and LED ON or OFF is plot - the light is either on or off- there is no dim

On Button A
    plot (2,2)
    //the little middle light should turn on 

Now write to code to draw a diagonal line across the LED screen using the plot points

No program it and make sure you understand how to use the (X,Y) grid system

Last updated