first commit
This commit is contained in:
29
ESP8266_DOMOTICZ_OCTOPRINT_WEB/Pins.h
Executable file
29
ESP8266_DOMOTICZ_OCTOPRINT_WEB/Pins.h
Executable file
@@ -0,0 +1,29 @@
|
||||
#ifndef Pins_h
|
||||
#define Pins_h
|
||||
#include <Arduino.h>
|
||||
|
||||
#define SDA D1
|
||||
#define SCL D2
|
||||
|
||||
#define ONE_WIRE_BUS D4 // DS18B20 pin
|
||||
#define RELAY_PIN D5
|
||||
#define RELAY_PIN_02 D6
|
||||
#define RELAY_PIN_03 D7
|
||||
#define RELAY_PIN_04 D0
|
||||
|
||||
#define FILAMENT_DETECTION 0
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// #define D0 16
|
||||
// #define D1 5 // I2C Bus SCL (clock)
|
||||
// #define D2 4 // I2C Bus SDA (data)
|
||||
// #define D3 0
|
||||
// #define D4 2 // Same as "LED_BUILTIN", but inverted logic
|
||||
// #define D5 14 // SPI Bus SCK (clock)
|
||||
// #define D6 12 // SPI Bus MISO
|
||||
// #define D7 13 // SPI Bus MOSI
|
||||
// #define D8 15 // SPI Bus SS (CS)
|
||||
// #define D9 3 // RX0 (Serial console)
|
||||
// #define D10 1 // TX0 (Serial console)
|
||||
Reference in New Issue
Block a user