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

Deprecated. Use DDGenericIO (in genericdumbdisplay.h) instead. More...

#include <serial2dumbdisplay.h>

Inheritance diagram for DDSerial2IO:
DDInputOutput

Public Member Functions

 DDSerial2IO (unsigned long baud, bool enableSerial=false, unsigned long serialBaud=DD_SERIAL_BAUD)
 
const char * getWhat ()
 
bool available ()
 
char read ()
 
void print (const String &s)
 
void print (const char *p)
 
void write (uint8_t b)
 
void write (const uint8_t *buf, size_t size)
 
bool preConnect (bool firstCall)
 
void flush ()
 
bool canUseBuffer ()
 
- Public Member Functions inherited from DDInputOutput
 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from DDInputOutput
 DDInputOutput (unsigned long serialBaud, bool backupBySerial, bool setupForSerial)
 
- Protected Attributes inherited from DDInputOutput
unsigned long serialBaud
 
bool backupBySerial
 
bool setupForSerial
 

Detailed Description

Deprecated. Use DDGenericIO (in genericdumbdisplay.h) instead.

Member Function Documentation

◆ available()

bool DDSerial2IO::available ( )
inlinevirtual

Reimplemented from DDInputOutput.

◆ canUseBuffer()

bool DDSerial2IO::canUseBuffer ( )
inlinevirtual

Reimplemented from DDInputOutput.

◆ flush()

void DDSerial2IO::flush ( )
inlinevirtual

Reimplemented from DDInputOutput.

◆ getWhat()

const char * DDSerial2IO::getWhat ( )
inlinevirtual

Reimplemented from DDInputOutput.

◆ preConnect()

bool DDSerial2IO::preConnect ( bool  firstCall)
inlinevirtual

Reimplemented from DDInputOutput.

◆ print() [1/2]

void DDSerial2IO::print ( const char *  p)
inlinevirtual

Reimplemented from DDInputOutput.

◆ print() [2/2]

void DDSerial2IO::print ( const String &  s)
inlinevirtual

Reimplemented from DDInputOutput.

◆ read()

char DDSerial2IO::read ( )
inlinevirtual

Reimplemented from DDInputOutput.

◆ write() [1/2]

void DDSerial2IO::write ( const uint8_t *  buf,
size_t  size 
)
inlinevirtual

Reimplemented from DDInputOutput.

◆ write() [2/2]

void DDSerial2IO::write ( uint8_t  b)
inlinevirtual

Reimplemented from DDInputOutput.