#include <genericdumbdisplay.h>
Public Member Functions | |
| DDGenericIO (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) | |
| DDInputOutput * | newForSerialConnection () |
| 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 |
Subclass of DDInputOutput
IMPORTANT:
#include, must define DD_SERIALDD_SERIAL_begin if necessaryDD_SERIAL_begin is a function call or a code blockDD_SERIAL_begin not defined, will call DD_SERIAL.begin(115200) instead#include <SoftwareSerial.h> SoftwareSerial ss(2, 3); #define DD_SERIAL ssUART uart(8, 9, 0, 0); #define DD_SERIAL uart#define DD_SERIAL Serial2HardwareSerial hs(USART2); #define DD_SERIAL hs
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.
|
inlinevirtual |
Reimplemented from DDInputOutput.