Arduinolyzer: Arduino Logic Analyzer

Source here:
http://www.allweapons.net/projects/arduinolyzer/source.c