This is a software simulator for a hardware project to make (a badge? a Christmas tree ornament?) with LEDs flashing in complex controlled sequences. The hardware project it was inspired by is at: http://picprojects.org.uk/projects/433chaser/ This might make a good first micro-controller project for kids to make themselves - with soldering and other challenges! This version has stored sequences (like the hardware project) and might be a good introduction to how microcode works. The PIC project describes its control sequence code at: http://picprojects.org.uk/projects/433chaser/#Description_of_Sequence_Data_ Not quite all functions of the PIC hardware are emulated, so repeating and reversing sequences could be an extension challenge for someone.
Uses 'Split' and 'Ltrim' (adapted) from String Functions by pcurnow (thx!). Can load and run (almost unedited!) control sequence assembler files from the PIC sourcecode. [See that, or work it out yourself, if you want to create new patterns.]