// swchaser.c -- light chaser: PORTD switches control chase speed on PORTB // implemented and tested on Atmel STK500 with AT90S8515 in rightmost socket // // Copyleft (!C) 2003 S. Mann // (http://www.gnu.org/copyleft/gpl.html); // based on Stephen Lacy's "mirror.c" //#include (doesn't compile when this is there) #include //for the above, you need to apt-get install #include //#include void delay(long N) { long n; for (n=0; n