Added OLED SSD1306 support to I2C

This commit is contained in:
ishtob
2017-03-22 15:04:11 -04:00
committed by GitHub
parent 423c68c210
commit 65317a3a02
8 changed files with 908 additions and 21 deletions

View File

@@ -1,7 +1,8 @@
SRC += matrix.c \
i2c.c \
split_util.c \
serial.c
serial.c\
ssd1306.c
# MCU name
#MCU = at90usb1287
@@ -73,15 +74,3 @@ USE_I2C ?= yes
SLEEP_LED_ENABLE ?= no # Breathing sleep LED during USB suspend
CUSTOM_MATRIX = yes
avrdude: build
ls /dev/tty* > /tmp/1; \
echo "Reset your Pro Micro now"; \
while [[ -z $$USB ]]; do \
sleep 1; \
ls /dev/tty* > /tmp/2; \
USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \
done; \
avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex
.PHONY: avrdude