diff --git a/software/GToE/GToE.ino b/software/GToE/GToE.ino index 71589ad..f765d19 100644 --- a/software/GToE/GToE.ino +++ b/software/GToE/GToE.ino @@ -5,13 +5,15 @@ #include #include +#define VERSION "0.1a" + #define SCREEN_ADDRESS 0x3C #define PPQN 24 #define PULSE_LENGTH 12 //ms (with 12 ms you can't get higher than 208bpm) #define MAXBPM 200 //250 at 24ppqn with 5ms pulse will be 50/50 square wave #define MINBPM 20 -#define SCREEN_TIMEOUT 120000 //Turn display off after 2 min +#define SCREEN_TIMEOUT 300000 //Turn display off after 5 min #define ENC_BTN_PIN 14 #define ENC_D1_PIN 17 @@ -137,7 +139,8 @@ void setup() { display.setCursor(90,1); display.setTextSize(1); display.setTextColor(SSD1306_WHITE); - display.println(F("V:0.1a")); //Version + display.print(F("V:")); + display.print(F(VERSION)); display.display(); delay(800);