Preparing code for rev 2
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include <FlexiTimer2.h>
|
||||
#include <EEPROM.h>
|
||||
|
||||
#define VERSION "0.1a"
|
||||
#define VERSION "REV2 PREP"
|
||||
|
||||
#define SCREEN_ADDRESS 0x3C
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#define MINBPM 20
|
||||
#define SCREEN_TIMEOUT 300000 //Turn display off after 5 min
|
||||
|
||||
///* Rev 1 Config
|
||||
#define ENC_BTN_PIN 14
|
||||
#define ENC_D1_PIN 17
|
||||
#define ENC_D2_PIN 4
|
||||
@ -25,6 +26,22 @@
|
||||
#define ANALOGUE_INPUT_2_PIN A1
|
||||
|
||||
const int outsPins[6] = {6, 11, 7, 10, 8, 9};
|
||||
//*/
|
||||
|
||||
/* Rev 2 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 12
|
||||
|
||||
#define EXT_INPUT_PIN 2 //needs to be an interrupt pin
|
||||
#define ANALOGUE_INPUT_1_PIN A7
|
||||
#define ANALOGUE_INPUT_2_PIN A6
|
||||
|
||||
const int outsPins[6] = {7, 8, 10, 6, 9, 11};
|
||||
*/
|
||||
|
||||
|
||||
const int clockModes[17] = {-24, -12, -8, -6, -4, -3, -2, 1, 2, 3, 4, 5, 6, 7, 8, 16, 32}; //positive - divide, negative - multiply, 0 - off
|
||||
|
||||
@ -135,6 +152,7 @@ void setup() {
|
||||
|
||||
//Splash screen
|
||||
display.clearDisplay();
|
||||
//display.setRotation(2); //rotate display for rev 2
|
||||
display.drawBitmap(48, 18, splash_logo, 33, 39, 1);
|
||||
display.setCursor(90,1);
|
||||
display.setTextSize(1);
|
||||
|
||||
1
software/GToE/build/arduino.avr.nano/GToE.ino.eep
Normal file
1
software/GToE/build/arduino.avr.nano/GToE.ino.eep
Normal file
@ -0,0 +1 @@
|
||||
:00000001FF
|
||||
BIN
software/GToE/build/arduino.avr.nano/GToE.ino.elf
Executable file
BIN
software/GToE/build/arduino.avr.nano/GToE.ino.elf
Executable file
Binary file not shown.
1286
software/GToE/build/arduino.avr.nano/GToE.ino.hex
Normal file
1286
software/GToE/build/arduino.avr.nano/GToE.ino.hex
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1409
software/GToE/build/arduino.avr.nano/GToE.ino.with_bootloader.hex
Normal file
1409
software/GToE/build/arduino.avr.nano/GToE.ino.with_bootloader.hex
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user