Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
Loading...
Searching...
No Matches
SerialDisplay.h
Go to the documentation of this file.
1
4
5#ifndef SERIAL_DISPLAY_H
6#define SERIAL_DISPLAY_H
7
8#include <IDisplay.h>
9#include <IHAL.h>
10
15class SerialDisplay : public IDisplay {
16private:
18 char string_buffer[128];
19
20public:
22 void initialize() override;
23 void update(float channel1Power, float channel2Power) override;
24};
25
26#endif // SERIAL_DISPLAY_H
An interface for displaying important values related to the system.
Definition IDisplay.h:13
A hardware abstraction layer interface.
Definition IHAL.h:29
char string_buffer[128]
Definition SerialDisplay.h:18
void update(float channel1Power, float channel2Power) override
Update the display with all relevant values.
Definition SerialDisplay.cpp:11
SerialDisplay(IHAL &hal)
Definition SerialDisplay.cpp:5
void initialize() override
Initialize the display.
Definition SerialDisplay.cpp:7
IHAL & hal
Definition SerialDisplay.h:17