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
December 1, 2012 at 8:59 pm
#21016
Mongo Hi Power
Participant
As you refer to functions, am I correct in hoping that the syntax would be something like:
void setup()
{
CUT.HardwareInit(); // Call this to init the hardware.
CUT.Clear(); // Erase the entire frame buffer.
}
void to_Eng_Yard()
{
~Set(S5) ;
~.Refresh(3 sec) ;
~.Set(s4) ;
~.Refresh(3 sec) ;
…
}
void loop()
{
…
to_Eng_Yard() ;
{more code}
}
I have not tried it yet, nor have I found any evidence of this technique in the examples I have found.
It would be a Huge help if it works.
Thanks