I'm a noob who's been coding on an Attiny817, and an Attiny104. And a lot of people on here have been really helpful, so thanks a ton.
Why is the coding different for them?
For example, to set the user LED on, for the 817 you go:
PORTC_DIR = (1 << UserLED);
PORTC_PIN0CTRL = 0xff;
whereas, for the 104, it seems to be the more oft-used::
DDRB = (1 << UserLED);
PORTB = (1 << UserLED);
I've heard the term floated around that the 817 doesn't use memory-mapped registers, so it's different.... is that it?
Why the heck they make the 817 different lol? since there's so much open-source code and resources available for the 104's style of coding.