config I/O D1 Mini
This commit is contained in:
14
src/main.cpp
14
src/main.cpp
@ -14,16 +14,16 @@
|
||||
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
|
||||
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
|
||||
|
||||
#define SDA 12
|
||||
#define SCL 13
|
||||
#define SDA 4
|
||||
#define SCL 5
|
||||
|
||||
#define SORTIE_RELAIS 16
|
||||
#define SORTIE_RELAIS 1
|
||||
#define LED_FLASH 4
|
||||
#define LED_BUILTIN 33
|
||||
//#define LED_BUILTIN 33
|
||||
|
||||
#define ENCROT_A 14
|
||||
#define ENCROT_B 15
|
||||
#define ENCROT_BP 2
|
||||
#define ENCROT_A 2
|
||||
#define ENCROT_B 0
|
||||
#define ENCROT_BP 3
|
||||
|
||||
// Setup a RotaryEncoder with 2 steps per latch for the 2 signal input pins:
|
||||
RotaryEncoder encoder(ENCROT_A, ENCROT_B, RotaryEncoder::LatchMode::TWO03);
|
||||
|
Reference in New Issue
Block a user