Wed, 30 Oct 2019 23:21:46 +0100
Initial code for the rotary switch and some menus. Changed default pushbutton pin from 12 to 14 and swapped the rotary pins. Disabled always create a new units file, it should be safe to keep it now.
/** * @file task_mqtt.h * @brief The FreeRTOS task to maintain MQTT connections. */ #ifndef _TASK_MQTT_H #define _TASK_MQTT_H /** * @brief Request a MQTT connection * @param state Request of disconnect a connection. */ void connect_mqtt(bool state); /** * @brief Check if MQTT is connected * @return Returns true if MQTT is connected */ bool ready_mqtt(void); void publishNode(void); void publishUnits(void); void publishLogs(void); /** * @brief The FreeRTOS task to run MQTT connections. */ void task_mqtt(void *); #endif