Refactoring how board control works
This commit is contained in:
21
lib/Cube/Cube.h
Normal file
21
lib/Cube/Cube.h
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @file Cube.h
|
||||
* @brief An object to store the data of one cube
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Color.h"
|
||||
|
||||
class Cube{
|
||||
public:
|
||||
Cube();
|
||||
Cube();
|
||||
|
||||
void SetColor(const Color &color);
|
||||
|
||||
uint16_t lastADCReading{0};
|
||||
|
||||
Color color;
|
||||
bool isOccupied{false};
|
||||
};
|
||||
Reference in New Issue
Block a user