UVControl/src/Config.h

45 lines
1.0 KiB
C

#ifndef __Config
#define __Config
#include <Arduino.h>
const int PinLCDRS = 7;
const int PinLCDEN = 8;
const int PinLCDDB4 = 9;
const int PinLCDDB5 = 10;
const int PinLCDDB6 = 11;
const int PinLCDDB7 = 12;
const int PinEncoderClock = 2;
const int PinEncoderData = 3;
const int PinButton = 4;
const int PinBuzzer = 5;
const int PinLED = 6;
const int LCDWidth = 16;
const int LCDHeight = 2;
const int EncoderSensitivity = 4;
const int SmallStep = 1;
const int LargeStepTreshold = 60;
const int LargeStep = 10;
const int MenuTimeout = 2000;
const uint32_t DefaultExposureTime = 60;
const uint8_t DefaultExposureIntensity = 100;
const uint8_t LCDCharArrowRight = 0;
const uint8_t LCDCharArrowLeft = 1;
const uint8_t LCDCharArrowRightHollow = 2;
const uint8_t LCDCharArrowLeftHollow = 3;
const uint8_t LCDCharUpDown = 4;
extern uint8_t LCDCharArrowRightMap[8];
extern uint8_t LCDCharArrowLeftMap[8];
extern uint8_t LCDCharArrowRightHollowMap[8];
extern uint8_t LCDCharArrowLeftHollowMap[8];
extern uint8_t LCDCharUpDownMap[8];
#endif