Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed_display_manager.hpp
00001 #ifndef _MBED_DISPLAY_INTERFACE_HPP 00002 #define _MBED_DISPLAY_INTERFACE_HPP 00003 00004 #include "display_manager.hpp" 00005 #include "ext_text_lcd/TextLCD.h" 00006 00007 class MbedDisplayManager : public DisplayManager { 00008 public: 00009 MbedDisplayManager(); 00010 00011 virtual void moveTo(std::size_t pos); 00012 virtual void writeStatus(const std::string &text); 00013 virtual void writeText(const std::string &text); 00014 virtual void showCursor(); 00015 virtual void hideCursor(); 00016 virtual void clear(); 00017 00018 private: 00019 void writeAt(std::size_t row, const std::string &text); 00020 void updateCursor(); 00021 00022 ext_text_lcd::TextLCD lcd; 00023 std::size_t pos; 00024 }; 00025 00026 #endif
Generated on Wed Jul 13 2022 16:23:43 by
1.7.2