Added +5v pin to expander pins
This commit is contained in:
@ -9,12 +9,13 @@ const char version[5] = "V:1.0";
|
||||
|
||||
#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
|
||||
|
||||
// Rev 2 and 3 Config
|
||||
// Rev 2+ Config
|
||||
#define ENC_BTN_PIN 14
|
||||
#define ENC_D1_PIN 17
|
||||
#define ENC_D2_PIN 4
|
||||
@ -25,10 +26,28 @@ const char version[5] = "V:1.0";
|
||||
#define ANALOGUE_INPUT_2_PIN A6
|
||||
const byte outsPins[6] = { 7, 8, 10, 6, 9, 11 };
|
||||
const byte clockOutPin = 3;
|
||||
bool rotateScreen = false;
|
||||
//
|
||||
|
||||
/* Rev 1 Config
|
||||
#define ENC_BTN_PIN 14
|
||||
#define ENC_D1_PIN 17
|
||||
#define ENC_D2_PIN 4
|
||||
#define START_STOP_BTN_PIN 5
|
||||
#define SHIFT_BTN_PIN 100
|
||||
|
||||
#define EXT_INPUT_PIN 2 //needs to be an interrupt pin
|
||||
#define ANALOGUE_INPUT_1_PIN A2
|
||||
#define ANALOGUE_INPUT_2_PIN A1
|
||||
|
||||
const byte clockOutPin = 0;
|
||||
const int outsPins[6] = {6, 11, 7, 10, 8, 9};
|
||||
bool rotateScreen = true;
|
||||
*/
|
||||
|
||||
|
||||
int CV1Calibration = 512;
|
||||
int CV2Calibration = 512;
|
||||
bool rotateScreen = false;
|
||||
bool showDone = false;
|
||||
|
||||
const int subDivs[17] = { -24, -12, -8, -6, -4, -3, -2, 1, 2, 3, 4, 5, 6, 7, 8, 16, 32 }; //positive - divide, negative - multiply, 0 - off
|
||||
|
||||
Reference in New Issue
Block a user