void setup() {
// put your setup code here, to run once:
DDRC = 0x00;
DDRA = 0xFF;
PORTC = 0xFF;
}
void loop() {
unsigned char switches;
// put your main code here, to run repeatedly:
switches = PINC;
PORTA = switches;
}
void setup() {
// put your setup code here, to run once:
DDRC = 0x00;
DDRA = 0xFF;
PORTC = 0xFF;
}
void loop() {
unsigned char switches;
// put your main code here, to run repeatedly:
switches = PINC;
PORTA = switches;
}