first commit
This commit is contained in:
26
ESP8266_DOMOTICZ_ECRAN_HALL/Pins.h
Normal file
26
ESP8266_DOMOTICZ_ECRAN_HALL/Pins.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef Pins_h
|
||||
#define Pins_h
|
||||
#include <Arduino.h>
|
||||
|
||||
#define SDA D1
|
||||
#define SCL D2
|
||||
|
||||
#define ONE_WIRE_BUS 5 // DS18B20 pin
|
||||
#define DHTPIN 11 // what pin we're connected to
|
||||
#define RELAY_PIN D0
|
||||
#define RELAY_PIN_02 D1
|
||||
#define RELAY_PIN_03 D2
|
||||
#define RELAY_PIN_04 D6
|
||||
|
||||
#define BUTTON_PIN 0
|
||||
// Ecran
|
||||
#define PIN_RESET D3
|
||||
#define PIN_SCE D4
|
||||
#define PIN_DC D8
|
||||
#define PIN_SDIN D7
|
||||
#define PIN_SCLK D5
|
||||
//#define PIN_LCD D6 // backlight
|
||||
//#define PIN_FADER 1 // analog
|
||||
//#define PIN_TMP 0 // analog
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user