ESP32_ChinaDieselHeater_Con.../Arduino/BTCDieselHeater/pins.h
2018-11-21 20:53:12 +11:00

28 lines
880 B
C

#include <stdint.h>
const uint8_t LED_Pin = 2;
const uint8_t HC05_KeyPin = 4;
const uint8_t TxEnbPin = 5;
const uint8_t OLED_MISO_pin = 12; // HSPI std pins
const uint8_t OLED_MOSI_pin = 13; // "
const uint8_t OLED_CLK_pin = 14; // "
const uint8_t DS18B20_Pin = 15;
const uint8_t Rx1Pin = 16;
const uint8_t Tx1Pin = 17;
const uint8_t Rx2Pin = 18;
const uint8_t Tx2Pin = 19;
const uint8_t OLED_SDA = 21; // I2C std pins
const uint8_t OLED_SCK = 22; // "
const uint8_t HC05_SensePin = 23;
const uint8_t OLED_DC_pin = 26;
const uint8_t OLED_CS_pin = 27;
const uint8_t keyLeft_pin = 25;
const uint8_t keyRight_pin = 33;
const uint8_t keyCentre_pin = 32;
const uint8_t keyUp_pin = 35;
const uint8_t keyDown_pin = 34;
const uint8_t ListenOnlyPin = 36; // input only, no chip pullup
const uint8_t WiFi_TriggerPin = 39; // input only, no chip pullup