renderbug-cpp/firmware/platform/particle/PhotonTelemetry.h

26 lines
622 B
C
Raw Normal View History

2019-05-10 05:17:29 +00:00
#pragma once
#include "./Figments/Figments.h"
class PhotonTelemetry: public Task {
public:
PhotonTelemetry();
void loop() override;
void handleEvent(const InputEvent& evt) override;
private:
void onConnected();
int m_frameIdx;
String m_serviceList;
2021-03-28 01:19:55 +00:00
String m_localIP;
2019-05-10 05:17:29 +00:00
uint32_t m_currentBrightness;
LEDStatus m_ledStatus = LEDStatus(0, LED_PATTERN_FADE, LED_SPEED_FAST);
uint32_t m_rgbPulseFrame = 0;
uint32_t m_pixelCount = 0;
uint32_t m_startPixel = 0;
uint32_t m_fps = 0;
uint32_t m_duplicateEvents = 0;
InputEvent m_lastEvent;
2019-05-10 05:17:29 +00:00
bool m_online = false;
};