-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPLQ_plaque.h
34 lines (28 loc) · 1.35 KB
/
PLQ_plaque.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*|==========================================================================|*/
/*| ____ _ _ _ _ |*/
/*| | \ _ _ | |_ |_|| |_ ___ ___ | |_ |*/
/*| | | || | || . || || _|| -_|| _|| | |*/
/*| |____/ |___||___||_||_| |___||___||_|_| |*/
/*| |*/
/*| [email protected] |*/
/*|==========================================================================|*/
/*| |*/
/*|==========================================================================|*/
/*| 17/11/2024 | Creation |*/
/*| | |*/
/*|==========================================================================|*/
#ifndef PLQ_PLAQUE
#define PLQ_PLAQUE
#include <stdint.h>
struct Plaque {
uint8_t sideSelected;
uint8_t power;
uint8_t isOk;
uint8_t rainBowIndex;
};
typedef struct Plaque Plaque;
void PLQ_init(Plaque* p);
void PLQ_receivePowerMsg(Plaque* p);
void PLQ_receiveTempMsg(Plaque* p);
void PLQ_tick(Plaque* p);
#endif