#pragma once


#define Anode0Pin  5
#define Anode1Pin  13
#define Anode2Pin  17
#define mosiPin    23
#define misoPin    19
#define sckPin     18
#define LEpin      22
#define upPin       2
#define downPin     4
#define modePin    16
#define ledRPin    25
#define ledGPin    26
#define ledBPin    27    

#define Anode0ON digitalWrite(Anode0Pin,HIGH)
#define Anode0OFF digitalWrite(Anode0Pin,LOW)

#define Anode1ON digitalWrite(Anode1Pin,HIGH)
#define Anode1OFF digitalWrite(Anode1Pin,LOW)

#define Anode2ON digitalWrite(Anode2Pin,HIGH)
#define Anode2OFF digitalWrite(Anode2Pin,LOW)

#define TimeIndex        0 
#define DateIndex        1 
// #define AlarmIndex       2 
// #define hModeIndex       3 
// #define TimeHoursIndex   4 
// #define TimeMintuesIndex 5
// #define TimeSecondsIndex 6
// #define DateDayIndex     7
// #define DateMonthIndex   8
// #define DateYearIndex    9 
// #define AlarmHourIndex   10
// #define AlarmMinuteIndex 11
// #define AlarmSecondIndex 12
// #define Alarm01          13
// #define hModeValueIndex  14