27 lines
580 B
C
27 lines
580 B
C
#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
|