ArduinoDumbDisplay v0.9.9-r34
DumbDisplay Arduino Library -- https://github.com/trevorwslee/Arduino-DumbDisplay
 
Loading...
Searching...
No Matches
DDInputOutput Class Reference

Class for DD input/output; you explicitly constructed it, pass in when instantiate DumbDisplay, then it will be use by DD internally for communication with DumbDisplay app. There are several derived class like DDSoftwareSerialIO, DDWiFiServerIO, DDBluetoothSerialIO, DDBLESerialIO, DDPicoSerialIO etc. More...

#include <_dd_io.h>

Inheritance diagram for DDInputOutput:
DDATWiFiIO DDBLESerialIO DDBluetoothSerialIO DDGenericIO DDPicoSerialIO DDSerial2IO DDSoftwareSerialIO DDWiFiServerIO

Public Member Functions

 DDInputOutput (unsigned long serialBaud=DD_SERIAL_BAUD)
 
DDInputOutputnewForSerialConnection ()
 
virtual const char * getWhat ()
 
virtual bool available ()
 
virtual char read ()
 
virtual void print (const String &s)
 
virtual void print (const char *p)
 
virtual void write (uint8_t b)
 
virtual void write (const uint8_t *buf, size_t size)
 
virtual void flush ()
 
virtual void keepAlive ()
 
virtual void validConnection ()
 
virtual bool preConnect (bool firstCall)
 
virtual bool canConnectPassive ()
 
virtual bool canUseBuffer ()
 
bool isSerial ()
 
bool isForSerial ()
 
bool isBackupBySerial ()
 
bool willUseSerial ()
 

Protected Member Functions

 DDInputOutput (unsigned long serialBaud, bool backupBySerial, bool setupForSerial)
 

Protected Attributes

unsigned long serialBaud
 
bool backupBySerial
 
bool setupForSerial
 

Detailed Description

Class for DD input/output; you explicitly constructed it, pass in when instantiate DumbDisplay, then it will be use by DD internally for communication with DumbDisplay app. There are several derived class like DDSoftwareSerialIO, DDWiFiServerIO, DDBluetoothSerialIO, DDBLESerialIO, DDPicoSerialIO etc.

Since
v0.9.8