Move firmware version to a define at top of file

This commit is contained in:
John Stäck 2018-09-03 15:08:24 +02:00
parent 2723fd0799
commit fde85a3a1d

View file

@ -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);