WLED/wled00/hue.h
2020-03-28 08:30:51 -04:00

16 lines
381 B
C++

#ifndef WLED_HUE_H
#define WLED_HUE_H
/*
* Sync to Philips hue lights
*/
#include <Arduino.h>
class AsyncClient;
void handleHue();
void reconnectHue();
void onHueError(void* arg, AsyncClient* client, int8_t error);
void onHueConnect(void* arg, AsyncClient* client);
void sendHuePoll();
void onHueData(void* arg, AsyncClient* client, void *data, size_t len);
#endif //WLED_HUE_H