41 lines
653 B
C
41 lines
653 B
C
#include <ArduinoHA.h>
|
|
|
|
void initPins();
|
|
|
|
void initWifi();
|
|
|
|
void initHA();
|
|
|
|
void initArduinoOTA();
|
|
|
|
void initWebSerial();
|
|
|
|
void recvMsg(uint8_t *data, size_t len);
|
|
|
|
void serialPrint(String message);
|
|
|
|
void onCoverLeftCommand(HACover::CoverCommand cmd);
|
|
|
|
void onCoverRightCommand(HACover::CoverCommand cmd);
|
|
|
|
void onCoverLeftSetPositionCommand(uint8_t pos);
|
|
|
|
void onCoverRightSetPositionCommand(uint8_t pos);
|
|
|
|
void processStateLeft();
|
|
|
|
void processStateRight();
|
|
|
|
void sendCoverLeftOpen();
|
|
|
|
void sendCoverLeftStop();
|
|
|
|
void sendCoverLeftClose();
|
|
|
|
void sendCoverRightOpen();
|
|
|
|
void sendCoverRightStop();
|
|
|
|
void sendCoverRightClose();
|
|
|
|
void sendRemoteCommand(); |