Jim,
I think I've broken the code.
It appears that for each pair of arguments, a single led command is performed; eg: "led 1 0 0 0" sends off commands to both the top light (1 0) and the mail light (0 0). If you send "led 0 1 0 1" your are telling the mail light to turn on solid twice.
The following useful commands result:
Both lights off 1 0 0 0 (or 0 0 1 0)
Both lights on 1 1 0 1 (or 0 1 1 1)
Top on, Mail off 1 1 0 0 (or 0 0 1 1)
Top off, Mail on 1 0 0 1 (or 0 1 1 0)
Both lights blink 1 2 0 2 (or 0 2 1 2)
Top Blink, Mail Off 1 2 0 0 (or 0 0 1 2)
Top Blink, Mail on 1 2 0 1 (or 0 1 1 2)
Top on, Mail Blink 1 1 0 2 (or 0 2 1 1)
Top off, Mail Blink 1 0 0 2 (or 0 2 1 0)
Obviously, the program could be simplified to use two command line arguments: Top state, Mail state (0,1,2).
By the way, thanks for all of your contributions.
Steve
Audrey Wall Mount