* ProtoView first tests

* Imp

* fix, reset
This commit is contained in:
Totoo 2024-07-29 07:45:56 +02:00 committed by GitHub
parent 96a60e82bc
commit 9211975868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 669 additions and 7 deletions

View file

@ -124,6 +124,7 @@ class Message {
AudioBeep = 66,
PocsagTosend = 67,
BatteryStateData = 68,
ProtoViewData = 69,
MAX
};
@ -1426,4 +1427,13 @@ class BatteryStateMessage : public Message {
uint16_t voltage = 0; // mV
};
class ProtoViewDataMessage : public Message {
public:
constexpr ProtoViewDataMessage()
: Message{ID::ProtoViewData} {}
int32_t times[100] = {0}; // positive: high, negative: low
uint16_t timeptr = 0;
const uint16_t maxptr = 99;
};
#endif /*__MESSAGE_H__*/