34 lines
825 B
C
34 lines
825 B
C
#ifndef __Config
|
|
#define __Config
|
|
|
|
#include "Arduino.h"
|
|
|
|
|
|
static const int PinLCDRS = 7;
|
|
static const int PinLCDEN = 8;
|
|
static const int PinLCDDB4 = 9;
|
|
static const int PinLCDDB5 = 10;
|
|
static const int PinLCDDB6 = 11;
|
|
static const int PinLCDDB7 = 12;
|
|
static const int PinEncoderClock = 2;
|
|
static const int PinEncoderData = 3;
|
|
static const int PinButton = 4;
|
|
static const int PinBuzzer = 5;
|
|
static const int PinLED = 6;
|
|
|
|
// You probably don't wanna change these without a proper review of the code, since most of it assumes 16x2 anyways
|
|
static const int LCDWidth = 16;
|
|
static const int LCDHeight = 2;
|
|
|
|
static const int EncoderSensitivity = 4;
|
|
static const int SmallStep = 1;
|
|
static const int LargeStepTreshold = 60;
|
|
static const int LargeStep = 10;
|
|
|
|
static const int MenuTimeout = 2000;
|
|
|
|
|
|
extern byte LCDCharArrow[8];
|
|
|
|
#endif
|