MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / VectorDisplayMessage

Class VectorDisplayMessage

include/VectorDisplay.h:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146#define TO_FP32(f) ((uint32_t)((f)*65536. + 0.5))
147
148struct VectorDisplayMessage {
149 char what;
150 char what2;
151 union {
152 uint8_t button;
153 struct {
154 int16_t x;
155 int16_t y;
156 } xy;
157 } data;
158} __attribute__((packed));
159
160class VectorDisplayClass : public Print {
161private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected