LOGGER  Logger
Data Logging using ESP8266
huzzahpins.h
Go to the documentation of this file.
1 //
5 // Copyright (c) 2015-2016 by Dragonnorth Group, all rights reserved.
6 //
7 // Author: Michael Newman
8 #ifndef huzzahpinsHedit
9 #define huzzahpinsHedit 1
10 
11 
27 
30 #define LED_PIN 0
31 
33 #define ONEWIRE_PIN 0
34 
43 #define I2C_SDA_PIN 4
44 #define I2C_SCL_PIN 2
45 
46 #define NOT_DATA_READY 5
52 
59 #define FLASH_SS_PIN 16
60 
93 
94 
95 
96 // These are shared by all SPI users. Chip select is defined per user
97 // of the SPI bus (i.e. FLASH_CS_PIN)
98 #if 0
99 // These actually come in from pins_arduino.h and can not be
100 // reconfigured!!!
101 // From 2.0.0
102 static const uint8_t SS = 15;
103 static const uint8_t MOSI = 13;
104 static const uint8_t MISO = 12;
105 static const uint8_t SCK = 14;
106 
107 // From 1.6.2 generic
108 static const uint8_t SS = 12;
109 static const uint8_t MOSI = 13;
110 static const uint8_t MISO = 14;
111 static const uint8_t SCK = 15;
112 
113 #endif
114 
127 
128 
130 #define FLASH_RESET_PIN 0
131 
133 #define FLASH_CS_PIN 2
134 
161 
177 
178 #endif // defined(huzzahpinsHedit)