From fde85a3a1d2f00afa4c28376539d1b8ee1bad2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20St=C3=A4ck?= Date: Mon, 3 Sep 2018 15:08:24 +0200 Subject: [PATCH] Move firmware version to a define at top of file --- NuEVI.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NuEVI.ino b/NuEVI.ino index c2bc207..a0ef1e7 100644 --- a/NuEVI.ino +++ b/NuEVI.ino @@ -22,6 +22,8 @@ PROGRAMME FUNCTION: EVI Wind Controller using the Freescale MP3V5004GP breath // Compile options, comment/uncomment to change +#define FIRMWARE_VERSION "1.2.6" // FIRMWARE VERSION NUMBER HERE <<<<<<<<<<<<<<<<<<<<<<< + #define REVB //Uncomment the following line if you have Teensyduino 1.4.0 or earlier, to make pitch bend over USB-MIDI work. @@ -741,7 +743,8 @@ void setup() { display.setTextColor(WHITE); display.setTextSize(1); display.setCursor(85,52); - display.println("v.1.2.6"); // FIRMWARE VERSION NUMBER HERE <<<<<<<<<<<<<<<<<<<<<<< + display.print("v."); + display.println(FIRMWARE_VERSION); display.display(); delay(1500);