start mqtt stuff

This commit is contained in:
2020-11-10 15:56:07 +01:00
parent 8a36a3da82
commit 662a440179
6 changed files with 129 additions and 3 deletions

View File

@ -18,6 +18,9 @@
#include <eeprom.h>
#include <wizHelper.h>
#include <mqtt_interface.h>
#include <mqttComm.h>
void my_setup_1() {
schInit();
logInit();
@ -190,6 +193,8 @@ void my_setup_2() {
wizInit();
mqttCommInit(NULL);
// frontendInit();
// frontendSetThreshold(240);
@ -205,7 +210,11 @@ void my_loop() {
}
void SYSTICK_Callback() {
// Pont Scheduler
schUpdate();
// MQTT Interface
MilliTimer_Handler()
}
void HAL_GPIO_EXTI_Callback(uint16_t pin) {