PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Public Member Functions | List of all members
SimplePrinter Class Reference
+ Inheritance diagram for SimplePrinter:
+ Collaboration diagram for SimplePrinter:

Public Member Functions

virtual void put_char (const char c)
 Print a single character. More...
 
virtual void puts (char const string[])
 Send a null-terminated character array. Though this method could be created using put_char, some objects (such as PropWare::UART), have optimized methods for sending a string and PrintCapable::puts can utilize them. More...
 

Detailed Description

Examples
Hybrid_Demo.cpp.

Definition at line 19 of file Hybrid_Demo.cpp.

Member Function Documentation

◆ put_char()

virtual void SimplePrinter::put_char ( const char  c)
virtual

Print a single character.

Parameters
[in]cIndividual char to be printed

Implements PropWare::PrintCapable.

Examples
Hybrid_Demo.cpp.

Definition at line 23 of file Hybrid_Demo.cpp.

+ Here is the call graph for this function:

◆ puts()

virtual void SimplePrinter::puts ( char const  string[])
virtual

Send a null-terminated character array. Though this method could be created using put_char, some objects (such as PropWare::UART), have optimized methods for sending a string and PrintCapable::puts can utilize them.

Precondition
string[] must be terminated with a null terminator
Parameters
[in]string[]Array of data words with the final word being 0 - the null terminator

Implements PropWare::PrintCapable.

Examples
Hybrid_Demo.cpp.

Definition at line 27 of file Hybrid_Demo.cpp.

+ Here is the call graph for this function:

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