Nesting

Can we write code that would count across EACH row on the LED grid instead of just one?

When A Button Pressed
    xPoint = 0
    yPoint = 0
    Repeat 5x
        Repeat 5x
        
       

What do we want to repeat?

        move accross 1 Row 
        reset xPoint to 0
        move accross the next row down
        and on 
        and  on 
        until we have lit up every light on the LED screen in order

Last updated