From ff071c6d359543c4e07abc09e85981a93b814b43 Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Wed, 9 Apr 2025 15:33:16 -0400 Subject: [PATCH] vault backup: 2025-04-09 15:33:16 --- 3-99 Research/3 ARCADE/I2C/main.c | 4 ++-- 3-99 Research/3 ARCADE/I2C/main.elf | Bin 6476 -> 6476 bytes 3-99 Research/3 ARCADE/I2C/main.hex | 4 ++-- 3-99 Research/3 ARCADE/I2C/makefile | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/3-99 Research/3 ARCADE/I2C/main.c b/3-99 Research/3 ARCADE/I2C/main.c index 90a17b80d..190ec38ee 100644 --- a/3-99 Research/3 ARCADE/I2C/main.c +++ b/3-99 Research/3 ARCADE/I2C/main.c @@ -11,11 +11,11 @@ int main(void) { while (1) { // Set PB5 high: LED ON PORTB |= (1 << PB5); - _delay_ms(1000); // Delay 1000 milliseconds (1 second) + _delay_ms(100); // Delay 1000 milliseconds (1 second) // Clear PB5: LED OFF PORTB &= ~(1 << PB5); - _delay_ms(1000); // Delay 1000 milliseconds (1 second) } + _delay_ms(100); // Delay 1000 milliseconds (1 second) } return 0; // Though this line is never reached because of the infinite loop } diff --git a/3-99 Research/3 ARCADE/I2C/main.elf b/3-99 Research/3 ARCADE/I2C/main.elf index 30a70dd56544a5b1c9606c72bd2022a040d9f3c1..f72a2e6a5699a5589d768ed8f665c7f5af368bb7 100755 GIT binary patch delta 36 qcmX?ObjE1HFNwx?QywS=G&oFfc=(;+00V>W4E^^YvCTq^RuTYEQxN$8 delta 36 qcmX?ObjE1HFNx;26CNuDG&oFfc=(;+00V>W4E^^YvCTq^RuTYEQxN$8 diff --git a/3-99 Research/3 ARCADE/I2C/main.hex b/3-99 Research/3 ARCADE/I2C/main.hex index c99064111..539117f6e 100644 --- a/3-99 Research/3 ARCADE/I2C/main.hex +++ b/3-99 Research/3 ARCADE/I2C/main.hex @@ -6,8 +6,8 @@ :100050000C943E000C943E000C943E000C943E0028 :100060000C943E000C943E0011241FBECFEFD8E04C :10007000DEBFCDBF0E9440000C9458000C940000DD -:10008000259A2D9A2FEF83ED90E3215080409040E8 -:10009000E1F700C000002D982FEF83ED90E3215091 +:10008000259A2D9A2FEF81EE94E0215080409040E8 +:10009000E1F700C000002D982FEF81EE94E0215091 :1000A00080409040E1F700C0000090E080E00895BB :0400B000F894FFCFF2 :00000001FF diff --git a/3-99 Research/3 ARCADE/I2C/makefile b/3-99 Research/3 ARCADE/I2C/makefile index 1815a0b60..335a70f54 100644 --- a/3-99 Research/3 ARCADE/I2C/makefile +++ b/3-99 Research/3 ARCADE/I2C/makefile @@ -9,13 +9,13 @@ SRC = $(TARGET).c # Compiler and tools for AVR CC = avr-gcc -CFLAGS = -mmcu=$(MCU) -DF_CPU=$(F_CPU) -Os -Wall +CFLAGS = -mmcu=$(MCU) -DF_CPU=$(F_CPU) -Os LDFLAGS = -mmcu=$(MCU) OBJCOPY = avr-objcopy # avrdude settings: adjust the port (-P) to match your device AVRDUDE = avrdude -AVRDUDE_FLAGS = -c arduino -p m328p -P /dev/ttyACM0 -b 115200 +AVRDUDE_FLAGS = -c arduino -p m328p -P /dev/ttyACM0 -b 115200 -D # Output file names ELF = $(TARGET).elf @@ -34,7 +34,7 @@ $(HEX): $(ELF) # Flash the HEX file to the device with avrdude flash: $(HEX) - $(AVRDUDE) $(AVRDUDE_FLAGS) -D -U flash:w:$(HEX):i + $(AVRDUDE) $(AVRDUDE_FLAGS) -U flash:w:$(HEX):i # Clean up build files clean: