//Isaac Roper
void setup()
{
// put your setup code here, to run once:
DDRB = B00001111;
DDRD= B11111110;
PORTB = 15;
PORTD = 0;
pinMode(A0, INPUT);
}
void loop() {
int value = analogRead(A0);
// put your main code here, to run repeatedly:
PORTD = B01110000; //L
delay(value);
PORTB = B00001110; // L on
delay(value);
PORTB = B00001111; // flash
delay(value);
PORTB = B00001111; //previous L
delay(value);
PORTD= B01110010; //C
delay(value);
PORTB = B00001101; //C on
delay(value);
PORTB = B00001111; // flash
delay(value);
PORTD = B01100110; //r
delay(value);
PORTB = B00001011;
delay(value);
PORTB = B00001111;
delay(value);
}