| 
    modm API documentation
    
   | 
 
EA DOGM162x-A. More...
#include <modm/driver/display/ea_dog.hpp>
  
 Public Types | |
| enum | Command {  ClearDisplay = 0b00000001, ResetCursor = 0b00000010, IncrementCursor = 0b00000110, DecrementCursor = 0b00000100, DisableDisplay = 0b00001000, EnableDisplay = 0b00001100, DisableCursor = 0b00001000, EnableCursor = 0b00001010, DisableCursorBlink = 0b00001000, EnableCursorBlink = 0b00001001, ShiftCursorLeft = 0b00010000, ShiftCursorRight = 0b00010100 }  | 
Public Member Functions | |
| IOStream & | ascii () | 
| set the output mode to ASCII style for integer types  | |
| IOStream & | bin () | 
| set the output mode to binary style for integer types  | |
| void | clear () | 
| clear the entire display and reset the cursor  | |
| IOStream & | endl () | 
| virtual void | execute (Command command) | 
| IOStream & | flush () | 
| IOStream & | get (char &c) | 
| Reads one character and returns it if available. Otherwise, returns IOStream::eof.  | |
| IOStream & | get (char *s, size_t n) | 
| template<size_t N> | |
| IOStream & | get (char (&s)[N]) | 
| IOStream & | hex () | 
| set the output mode to hexadecimal style for integer types  | |
| virtual void | initialize () | 
| Initialize the display.  More... | |
| IOStream & | operator<< (const bool &v) | 
| IOStream & | operator<< (const char &v) | 
| IOStream & | operator<< (const uint8_t &v) | 
| IOStream & | operator<< (const int16_t &v) | 
| IOStream & | operator<< (const uint16_t &v) | 
| IOStream & | operator<< (const int32_t &v) | 
| IOStream & | operator<< (const uint32_t &v) | 
| IOStream & | operator<< (const char *s) | 
| IOStream & | operator<< (const std::string_view sv) | 
| IOStream & | operator<< (const void *p) | 
| write the hex value of a pointer  | |
| template<class Ret , class... Args> | |
| IOStream & | operator<< (Ret (*pointer)(Args...)) | 
| Write the hex value of any function pointer.  | |
| IOStream & | operator<< (IOStream &(*format)(IOStream &)) | 
| virtual void | setCursor (uint8_t column, uint8_t line) | 
| void | write (char c) | 
| virtual void | writeRaw (char c) | 
Static Public Attributes | |
| static constexpr char | eof = -1 | 
Protected Attributes | |
| uint8_t | column | 
| uint8_t | line | 
| uint8_t | lineCount | 
| uint8_t | lineWidth | 
| Writer | writer | 
EA DOGM162x-A.
      
  | 
  inherited | 
      
  | 
  inherited | 
reads characters into NULL delimited c string in contrast to the standard implementation, this does not care about newline characters in the input
      
  | 
  inheritedvirtual | 
Initialize the display.
The display needs some time to initialize after startup. You have to wait at least 50 ms until calling this method.
      
  | 
  inheritedvirtual | 
Set cursor to specified position
| column | horizontal position | 
| line | vertical position | 
Implements modm::CharacterDisplay.
      
  | 
  inherited | 
Write a character
This method provides an automatic wrap-round if the output reaches the end of the current line or a newline character is detected.
Use writeRaw() if this behavior is not wanted.
      
  | 
  inheritedvirtual | 
Write a raw character at cursor position
Unlike write() no further processing will occur.
Implements modm::CharacterDisplay.