The mqtt.c file was getting pretty big, so the example code is now in main.c. Also, we need a onewire library, so I've started to write on in onewire.c. We will need to make some changes to the Makefile as well, but I will need to consult a couple of resources for that. Signed-off-by: A.M. Rowsell <amrowsell@frozenelectronics.ca>
10 lines
306 B
C
10 lines
306 B
C
#include "mqtt.h"
|
|
#include "onewire.h"
|
|
|
|
LOCAL void ICACHE_FLASH_ATTR con(void *arg);
|
|
LOCAL void ICACHE_FLASH_ATTR pub(void *arg);
|
|
LOCAL void ICACHE_FLASH_ATTR sub(void *arg);
|
|
LOCAL void ICACHE_FLASH_ATTR ping(void *arg);
|
|
LOCAL void ICACHE_FLASH_ATTR discon(void *arg);
|
|
|
|
void ICACHE_FLASH_ATTR user_init();
|