Browse Source

Add debug code for counter module

fastled
Xose Pérez 7 years ago
parent
commit
834e0597f4
2 changed files with 4 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/general.h
  2. +3
    -0
      code/espurna/espurna.ino

+ 1
- 0
code/espurna/config/general.h View File

@ -376,6 +376,7 @@ PROGMEM const char* const custom_reset_string[] = {
#define MQTT_TOPIC_HOSTNAME "host"
#define MQTT_TOPIC_TIME "time"
#define MQTT_TOPIC_ANALOG "analog"
#define MQTT_TOPIC_COUNTER "counter"
#define MQTT_TOPIC_RFOUT "rfout"
#define MQTT_TOPIC_RFIN "rfin"
#define MQTT_TOPIC_RFLEARN "rflearn"


+ 3
- 0
code/espurna/espurna.ino View File

@ -127,6 +127,9 @@ void welcome() {
#if ANALOG_SUPPORT
DEBUG_MSG_P(PSTR(" ANALOG"));
#endif
#if COUNTER_SUPPORT
DEBUG_MSG_P(PSTR(" COUNTER"));
#endif
#if DEBUG_SERIAL_SUPPORT
DEBUG_MSG_P(PSTR(" DEBUG_SERIAL"));
#endif


Loading…
Cancel
Save