kNOw SIGN
led_display.hpp
Go to the documentation of this file.
1 #include "ArduiPi_OLED_lib.h"
2 #include "Adafruit_GFX.h"
3 #include "ArduiPi_OLED.h"
4 
11 class LedDisplay {
12  public:
13  LedDisplay();
14  ~LedDisplay();
20  void addChar(char &curr_letter);
21 
27  void clearDisplay();
28 
29  private:
30  ArduiPi_OLED display;
31  int row;
32  int col;
33 
39  void updateCursor();
40 };
void addChar(char &curr_letter)
Adds passed character to the current position in the display.
Definition: led_display.cpp:16
void updateCursor()
Moves the display cursor to the next position.
Definition: led_display.cpp:33
ArduiPi_OLED display
Definition: led_display.hpp:30
LedDisplay()
Definition: led_display.cpp:3
int col
Definition: led_display.hpp:32
void clearDisplay()
Clear the OLED display when called.
Definition: led_display.cpp:28
int row
Definition: led_display.hpp:31
Driver class for the OLED display. The recognition output is passed to the functions of this class to...
Definition: led_display.hpp:11
~LedDisplay()
Definition: led_display.cpp:12