21 lines
453 B
C
Executable File
21 lines
453 B
C
Executable File
#ifndef Pins_h
|
|
#define Pins_h
|
|
#include <Arduino.h>
|
|
|
|
#define SDA D1
|
|
#define SCL D2
|
|
|
|
#define ONE_WIRE_BUS 10 // DS18B20 pin
|
|
#define DHTPIN 11 // what pin we're connected to
|
|
// 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
|