/* * Arduino SpookySounds * -------------------- * * Draws a scary eyeball and plays a spooky sound whenever a * number is sent on a serial port. * Press space bar to clear screen. * * Receives an ASCII number over the serial port, * terminated with a carriage return (ascii 13) then newline (10). * Doesn't use the numeric value, but does parse it. * * This matches what Arduino's "Serial.println(val)" function * puts out. * * Depends on the Ess sound library and 9 sounds in the * data directory named "spooky01.wav" ... "spooky09.wav" * * Created 25 October 2006 * copyleft 2006 Tod E. Kurt