Loading...
Searching...
No Matches
BindView.hpp
1#ifndef __BINDVIEW_HPP
2#define __BINDVIEW_HPP
3#include <stdint.h>
4
5#if defined(ARDUINO_ARCH_ESP8266)
6#include <cstdio> //for sprintf
7#endif
8
9#define BLACK 0xFF000000
10#define DKGRAY 0xFF444444
11#define GRAY 0xFF888888
12#define LTGRAY 0xFFCCCCCC
13#define WHITE 0xFFFFFFFF
14#define RED 0xFFFF0000
15#define GREEN 0xFF00FF00
16#define BLUE 0xFF0000FF
17#define YELLOW 0xFFFFFF00
18#define CYAN 0xFF00FFFF
19#define MAGENTA 0xFFFF00FF
20#define UBUNTU 0xFF300A24
21#define AVOCADO 0xFF95986B
22#define TRANSPARENT 0
23#define MAX_STRING_LENGTH_TERMINAL 64
24
25 class BindView
26{
27 public:
37 virtual uint16_t getBytes(uint8_t *out) { return 0; };
38 int16_t tag;
39};
40
41#endif /* __BINDVIEW_HPP */
BindView
Definition BindView.hpp:26
BindView::getBytes
virtual uint16_t getBytes(uint8_t *out)
Retrieves the bytes representing the BindView for synchronization.
Definition BindView.hpp:37