Closed JasXSL closed 4 years ago
PB0 is defined as 0 in the file iom8.h
. It's supposed to be that way.
It's just a macro to make code more readable. If you want to set PB0 high, you'll just write it this way: PORTB |= (1 << PB0);
Huh guess they are. I'm used to using them to refer to pins directly on ATtiny and ESP MCUs.
Settings:
The value of PB0 seems to be 0 (should be 8 for ATmega8). The Arduino AVR boards package is installed and up to date.