Removed unused variable from examples, set default main.c to blink example.

This commit is contained in:
Marvin Blum
2018-10-30 21:35:33 +01:00
parent 9cec38e23c
commit 57072f9ad0
4 changed files with 12 additions and 27 deletions

13
compile
View File

@@ -1,11 +1,11 @@
#!/bin/bash
#MMCU=atmega328p
MMCU=atmega168
#AVR_TYPE=ATMEGA328P
AVR_TYPE=ATMEGA168
#BAUD=57600 # atmega328p
BAUD=19200 # atmega168
MMCU=atmega328p
#MMCU=atmega168
AVR_TYPE=ATMEGA328P
#AVR_TYPE=ATMEGA168
BAUD=57600 # atmega328p
#BAUD=19200 # atmega168
echo "MMCU set to $MMCU"
echo "AVR_TYPE set to $AVR_TYPE"
@@ -28,4 +28,3 @@ avr-objcopy -O ihex -R .eeprom build/main build/main.hex
avrdude -F -V -c arduino -p $AVR_TYPE -P $1 -b $BAUD -U flash:w:build/main.hex
rm -r build