added version to title screen

This commit is contained in:
Rudis Muiznieks 2022-06-19 13:56:25 -05:00
parent 59a09e1cdf
commit 0ea20c9d19
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
SOURCE=$(wildcard *.ino) SOURCE=$(wildcard *.ino)
BIN=./build/aurdino.avr.leonardo/slangin.ino.hex BIN=./build/aurdino.avr.leonardo/slangin.ino.hex
all: slangin.hex
$(BIN): $(SOURCE) $(BIN): $(SOURCE)
arduino-cli compile -b arduino:avr:leonardo -e . arduino-cli compile -b arduino:avr:leonardo -e .

View File

@ -151,6 +151,8 @@ void loop() {
Sprites::drawOverwrite(98, 0, spriteWeed, 0); Sprites::drawOverwrite(98, 0, spriteWeed, 0);
arduboy.setCursor(42, 15); arduboy.setCursor(42, 15);
arduboy.print(F("Slangin'")); arduboy.print(F("Slangin'"));
font3x5.setCursor(113, 58);
font3x5.print(F("v1.0"));
menu[0] = F("Hit the Streets!!"); menu[0] = F("Hit the Streets!!");
menuLength = 1; menuLength = 1;
menuSmall = false; menuSmall = false;