Fix: changed display digits to 15 according to my vfd

Refactor: one function to set display mode
Enhancement: made demo program display something
Enhancement: changed compiler optimisation for smaller size
This commit is contained in:
2022-03-19 19:03:03 +01:00
parent e7e988c44d
commit 934cbc2441
4 changed files with 19 additions and 28 deletions

View File

@@ -3,7 +3,7 @@ MCU=atmega88
F_CPU=8000000UL
CC=avr-gcc
OBJCOPY=avr-objcopy
CFLAGS=-std=c99 -Wall -g -O3 -mmcu=${MCU} -DF_CPU=${F_CPU} -I/usr/lib/avr/include/
CFLAGS=-std=c99 -Wall -g -Os -mcall-prologues -mmcu=${MCU} -DF_CPU=${F_CPU} -I/usr/lib/avr/include/
TARGET=main
SRCS=main.c PT6302.c PT6302.h