19 lines
355 B
C
19 lines
355 B
C
|
/*
|
||
|
|
||
|
ARDUINO ports definitions - GPIOS and ADCs
|
||
|
|
||
|
*/
|
||
|
|
||
|
#define RESET 8 //LDR
|
||
|
#define MUX 2 //LDR
|
||
|
#define PROG_MODE A2
|
||
|
#define BLUE A0
|
||
|
#define GREEN A1
|
||
|
#define MMC_CS 10
|
||
|
#define RTX_CS 9
|
||
|
#define POWER 6
|
||
|
#define SELECT_MODE_1 7
|
||
|
#define SELECT_MODE_2 3
|
||
|
|
||
|
#define SHT21_ADDRESS 0x40 // Direction of the sht21
|