diff --git a/Makefile b/Makefile index 1731fcc..b456564 100644 --- a/Makefile +++ b/Makefile @@ -19,11 +19,14 @@ lcd: ${OBJCOPY} -j .text -j .data -O ihex a.out lcd.hex rm -f a.out -flash_lcd: notes +flash_lcd: lcd avrdude -p atmega328p -c arduino -P ${PORT} -b 115200 -U flash:w:lcd.hex:i serial_setup: - stty -F ${PORT} raw speed 115200 cs8 -cstopb -parenb + stty -F ${PORT} raw speed 9600 cs8 -cstopb -parenb serial_open: od -x --endian=big -w4 ${PORT} + +serial_obsd: + cu -l ${PORT} -s 9600 | hexdump -C