int counter = 0;
void setup() {
Serial.begin(9600);
DDRB = 0x06;
}
void loop() {
// put your main code here, to run repeatedly:
PORTB = counter;
Serial.println(counter);
counter = (counter + 1) % 64;
delay(300);
}
int counter = 0;
void setup() {
Serial.begin(9600);
DDRB = 0x06;
}
void loop() {
// put your main code here, to run repeatedly:
PORTB = counter;
Serial.println(counter);
counter = (counter + 1) % 64;
delay(300);
}