Printable class provides a way for new classes to allow themselves to be printed.
The Printable class provides a way for new classes to allow themselves to be printed. By deriving from Printable and implementing the printTo method, it will then be possible for users to print out instances of this class by passing them into the usual. Print::print and Print::println methods.
Full class usage
Virtual Public Functions
virtual size_t printTo(Print& p) const = 0;
- https://github.com/chipKIT32/chipKIT-core/tree/master/pic32/cores/pic32 - The github repository for the PIC32 ChipKit Core.