2#include <io/painter.hpp>
3#include <io/button_painter.hpp>
4#include <macros/labels.hpp>
12 virtual ~base_hardware() =
default;
32 base_hardware() =
default;
virtual void clear()=0
Turns off all LEDs.
virtual int height() const =0
Retrieves the height of the device's grid.
virtual void setup()=0
Sends any preliminary commands needed by the device ie. initialising to a particular mode like XY (La...
virtual int width() const =0
Retrieves the with of the device's grid.
virtual void set_button(const button_painter &)=0
Pass a reference to the button_painter object and display it's content to the device's buttons.
virtual void set_grid(painter &)=0
Pass a reference to the painter object and display it's content to the grid.
The painter class.
Definition painter.hpp:12