1#ifndef picodumbdisplay_h
2#define picodumbdisplay_h
10#include "dumbdisplay.h"
21 unsigned long baud = DD_SERIAL_BAUD,
22 bool enableSerial =
false,
unsigned long serialBaud = DD_SERIAL_BAUD):
23 DDInputOutput(serialBaud, enableSerial, enableSerial), serial(tx, rx, 0, 0) {
29 const char* getWhat() {
33 return serial.available();
38 void print(
const String &s) {
41 void print(
const char *p) {
44 void write(uint8_t b) {
47 void write(
const uint8_t *buf,
size_t size) {
48 serial.write(buf, size);
50 bool preConnect(
bool firstCall) {
58 bool canConnectPassive() {
Deprecated. Use DDGenericIO (in genericdumbdisplay.h) instead.
Definition: picodumbdisplay.h:18