More memory optimisation. Changed how version is displayed in settings
This commit is contained in:
@ -6,16 +6,17 @@
|
||||
#include <avr/wdt.h>
|
||||
#include <NeoHWSerial.h>
|
||||
|
||||
//const char version[5] = "1.1.1";
|
||||
String version = "1.1.1";
|
||||
#define VERSION "V:1.1.1"
|
||||
|
||||
#define SCREEN_ADDRESS 0x3C
|
||||
byte memCode = 'D'; //Change to different letter if you changed the data structure
|
||||
|
||||
#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_ADDRESS 0x3C
|
||||
|
||||
// Rev 2+ Config
|
||||
#define ENC_BTN_PIN 14
|
||||
#define ENC_D1_PIN 17
|
||||
@ -99,7 +100,6 @@ byte currentStep = 0;
|
||||
byte stepNumSelected = 0;
|
||||
bool *patternToEdit;
|
||||
|
||||
byte memCode = 'C'; //Change to different letter if you changed the data structure
|
||||
|
||||
unsigned int channelPulseCount[6];
|
||||
unsigned int channelPulsesPerCycle[6];
|
||||
@ -191,8 +191,11 @@ const PROGMEM uint8_t stkL[569] U8G2_FONT_SECTION("stk-l") =
|
||||
"\210\14\21RC\206\241\63h\222(I\203\346\220\15\31E\204\14!\42\303F\20;h\341\0x\24\312"
|
||||
"\336\302 CGH\240\61E\312\14\222)\6Y\64\0\0\0\0\4\377\377\0";
|
||||
|
||||
String version;
|
||||
|
||||
void setup() {
|
||||
version = F(VERSION);
|
||||
|
||||
NeoSerial.begin(31250);
|
||||
NeoSerial.attachInterrupt(receiveMIDI);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user