The Stimulus file is a text file which allows for digital pins to be set or cleared and predetermined times. Since the Stimulus file accepts any Arduino code, any combination of actions can be set to happen at specific microsecond run-times.


The Stimulus file consists of one record per line, with a microsecond time setting, and an expression separated by a comma


Sample Stimulus file 


20,pinMode(1,OUTPUT); // at 20us make digital Pin1 an output

50,pinMode(5,OUTPUT); // at 50us make digital Pin5 an output

100,digitalWrite(5,HIGH); // at 100us turn on digital Pin5


Note that there is also a virtual library <Graphics.h> which allows for colour screen rendering. See the Graphics.ino demo sketch under _Sim Test\v0.98 checks