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 30a70dd56..f72a2e6a5 100755 Binary files a/3-99 Research/3 ARCADE/I2C/main.elf and b/3-99 Research/3 ARCADE/I2C/main.elf differ 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: