Teo-CD
bedd1f4f95
Implement a set of functions to create messages following the protocols defined in the README for communication. Handle HID, which is used to communicate with the interactive application. Update README with details on the message structures.
20 lines
385 B
C++
20 lines
385 B
C++
//
|
|
// Created by Teo-CD on 24/09/23.
|
|
//
|
|
|
|
#ifndef JIN_BARBAPAPA_COM_H
|
|
#define JIN_BARBAPAPA_COM_H
|
|
|
|
#include <Arduino.h>
|
|
#include <cstring>
|
|
|
|
/**
|
|
* Handle communication with a connected device and provide convenience
|
|
* functions for the fixed protocols.
|
|
*/
|
|
namespace Com {
|
|
void sendFigUpdate(int8_t event);
|
|
void sendComment(const char* message, ...);
|
|
}
|
|
|
|
#endif //JIN_BARBAPAPA_COM_H
|