mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-05 10:04:31 +02:00
add print int function to display
This commit is contained in:
@ -137,6 +137,18 @@ void Display::println(String value){
|
||||
this->println(msgBuffer);
|
||||
};
|
||||
|
||||
void Display::print(int value){
|
||||
char cstr[16];
|
||||
|
||||
this->print(itoa(value, cstr, 10));
|
||||
};
|
||||
|
||||
void Display::println(int value){
|
||||
char cstr[16];
|
||||
|
||||
this->println(itoa(value, cstr, 10));
|
||||
};
|
||||
|
||||
void Display::println(char *value){
|
||||
this ->print(value);
|
||||
this->print("\n");
|
||||
|
Reference in New Issue
Block a user