1#ifndef serial2dumbdisplay_h
2#define serial2dumbdisplay_h
6#include "dumbdisplay.h"
12 bool enableSerial =
false,
unsigned long serialBaud = DD_SERIAL_BAUD):
16 const char* getWhat() {
20 return Serial2.available();
23 return Serial2.read();
25 void print(
const String &s) {
28 void print(
const char *p) {
31 void write(uint8_t b) {
34 void write(
const uint8_t *buf,
size_t size) {
35 Serial2.write(buf, size);
37 bool preConnect(
bool firstCall) {
38 DDInputOutput::preConnect(firstCall);
Deprecated. Use DDGenericIO (in genericdumbdisplay.h) instead.
Definition: serial2dumbdisplay.h:9