Browse Source

Changed from hardware to feature

rfm69
AlbertWeterings 6 years ago
committed by GitHub
parent
commit
99d4455e4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 14 deletions
  1. +6
    -14
      code/espurna/config/hardware.h

+ 6
- 14
code/espurna/config/hardware.h View File

@ -1421,27 +1421,19 @@
#define RELAY8_PIN 15
#define RELAY8_TYPE RELAY_TYPE_NORMAL
// -----------------------------------------------------------------------------
#elif defined(UARTtoMQTT)
#endif
// Info
#define MANUFACTURER "Albert"
#define DEVICE "UARTtoMQTT_experiment"
#if defined(UART_MQTT_SUPPORT)
// Set baudrate on serial line
#define SERIAL_BAUDRATE 115200
// MQTT support is mandatory
#define MQTT_SUPPORT 1
// Remove UART noise on serial line
#define TERMINAL_SUPPORT 0
#define DEBUG_SERIAL_SUPPORT 0
// Buttons
#define BUTTON1_PIN 0
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
// LEDs
#define LED1_PIN 2
#define LED1_PIN_INVERSE 1
// -----------------------------------------------------------------------------
#endif
// -----------------------------------------------------------------------------


Loading…
Cancel
Save