Add arduino-timer library
This commit is contained in:
@@ -24,4 +24,6 @@ lib_deps =
|
|||||||
|
|
||||||
plapointe6/EspMQTTClient@^1.13.3
|
plapointe6/EspMQTTClient@^1.13.3
|
||||||
|
|
||||||
|
contrem/arduino-timer@^3.0.1
|
||||||
|
|
||||||
RFPowerView=https://git.mattway.com.au/matt/RFPowerView.git
|
RFPowerView=https://git.mattway.com.au/matt/RFPowerView.git
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <EspMQTTClient.h>
|
#include <EspMQTTClient.h>
|
||||||
|
#include <arduino-timer.h>
|
||||||
#include <RFPowerView.h>
|
#include <RFPowerView.h>
|
||||||
#include "secrets.h"
|
#include "secrets.h"
|
||||||
|
|
||||||
@@ -24,6 +25,8 @@ EspMQTTClient client(
|
|||||||
1883
|
1883
|
||||||
);
|
);
|
||||||
|
|
||||||
|
auto timer = Timer<10, millis, uint16_t>();
|
||||||
|
|
||||||
void processPacket(const Packet*);
|
void processPacket(const Packet*);
|
||||||
|
|
||||||
bool sendOpenPacket(uint16_t destination);
|
bool sendOpenPacket(uint16_t destination);
|
||||||
|
|||||||
Reference in New Issue
Block a user