COSA
An Object-Oriented Platform for Arduino Programming
LCD::IO Class Referenceabstract

#include <LCD.hh>

Inheritance diagram for LCD::IO:
Inheritance graph
Collaboration diagram for LCD::IO:
Collaboration graph

Public Member Functions

virtual void begin ()=0
 
virtual void end ()=0
 
virtual void write (uint8_t data)=0
 
virtual void write (const void *buf, size_t size)=0
 

Detailed Description

Abstract LCD IO adapter to isolate communication specific functions and allow access over software serial or hardware SPI.

Definition at line 190 of file LCD.hh.

Member Function Documentation

virtual void LCD::IO::begin ( )
pure virtual

Start of data/command transfer block.

Implemented in LCD::SPI3W, and LCD::Serial3W.

virtual void LCD::IO::end ( )
pure virtual

End of data/command transfer block.

Implemented in LCD::SPI3W, and LCD::Serial3W.

virtual void LCD::IO::write ( uint8_t  data)
pure virtual

Write byte (8bit) to display.

Parameters
[in]data(8b) to write.

Implemented in LCD::SPI3W, and LCD::Serial3W.

virtual void LCD::IO::write ( const void *  buf,
size_t  size 
)
pure virtual

Write character buffer to display.

Parameters
[in]bufpointer to buffer.
[in]sizenumber of bytes in buffer.

Implemented in LCD::SPI3W, and LCD::Serial3W.


The documentation for this class was generated from the following file: