Re: Connecting 2 Peggy II boards and increasing the number of commands to execute.s

Home Evil Mad Scientist Forums LED Matrix Kits Connecting 2 Peggy II boards and increasing the number of commands to execute.s Re: Connecting 2 Peggy II boards and increasing the number of commands to execute.s

#21015
Windell Oskay
Keymaster

Yes, you can use functions to simplify the operation and reduce the code usage.  You could even define each of the “tracks” as an array that specifies the location of each dot, and then use loops to say something like:

For each light on track XYZ:
  Turn on light
  refresh 2 seconds
  clear light
  light++