20 lines
269 B
C++
20 lines
269 B
C++
#pragma once
|
|
#include <rgb_lcd.h>
|
|
#include <Arduino.h>
|
|
|
|
class Display {
|
|
public:
|
|
void begin(int cols, int rows);
|
|
|
|
void startOrEnd(bool enable);
|
|
|
|
void updateSpeed(int kmh);
|
|
|
|
void updateRPM(int rpm);
|
|
|
|
void updateGear(char gearChar);
|
|
|
|
private:
|
|
rgb_lcd _lcd;
|
|
};
|