From a052f8ec975666f48572e91c79c6a0b6e2934150 Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Wed, 9 Apr 2025 15:37:01 -0400 Subject: [PATCH] vault backup: 2025-04-09 15:37:01 --- 3-99 Research/3 ARCADE/I2C/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3-99 Research/3 ARCADE/I2C/main.c b/3-99 Research/3 ARCADE/I2C/main.c index 190ec38ee..8bc0530f6 100644 --- a/3-99 Research/3 ARCADE/I2C/main.c +++ b/3-99 Research/3 ARCADE/I2C/main.c @@ -1,16 +1,16 @@ -#include +#include #include // The main function: our program entry point int main(void) { // Set PB5 as output. DDRB is the data direction register for port B. // (1 << PB5) shifts 1 over by PB5 bits creating a bitmask. - DDRB |= (1 << PB5); + DDRB |= (1 << DDB5); // Infinite loop to blink the LED while (1) { // Set PB5 high: LED ON - PORTB |= (1 << PB5); + PORTB |= (1 << PORTB5B5); _delay_ms(100); // Delay 1000 milliseconds (1 second) // Clear PB5: LED OFF