/**
TinyDebug usage example: ATtiny85 debug prints in the Wokwi Simulator.
*/
#include "TinyDebug.h"
#define LED_PIN PB0
void setup() {
Debug.begin();
Debug.println(F("Hello Tiny!"));
//DDRB = B00000001; // B11111111; // set PORTD (digital 7~0) to outputs
DDRB |= 1<<LED_PIN;
}
int i = 0;
void loop() {
delay(500);
i++;
Debug.print(F("Counter: "));
Debug.println(i);
//digitalWrite(LED, !digitalRead(LED));
PORTB |= (1 << LED_PIN);
delay(500);
PORTB &= ~(1 << LED_PIN);
}