Last active
April 24, 2023 19:35
-
-
Save bradford-hamilton/b2775534ec2f3ec3b7a6302148fe7914 to your computer and use it in GitHub Desktop.
ATtiny85 - Initial DDRB & PORTB definition before including the I/O memory offset for SFRs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Port B data direction register | |
#define DDRB *((volatile unsigned char*)0x17) | |
// Port B data register | |
#define PORTB *((volatile unsigned char*)0x18) | |
int main() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment