// port manipulation
void setup() {
// put your setup code here, to run once:
DDRD=B11111111; //set digital (7-1) to outputs
DDRC=B11111111; //set analog (7-1) to outputs
PORTD=B11111110;
PORTC=B11111110;
delay(500);
PORTD=B00000000;
PORTC=B00000000;
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
//testing LEDs
PORTD=2;
delay(500);
PORTD=4;
delay(500);
PORTD=8;
delay(500);
}