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.
Dependencies: AdaFruit_RGBLCDShield MCP23017 mbed RTclock
Fork of MCP_test by
DateModule.h
00001 #ifndef __DATEMODULE_H__ 00002 #define __DATEMODULE_H__ 00003 00004 #include "module.h" 00005 #include "RTclock.h" 00006 00007 class DateModule 00008 : public Module 00009 { 00010 public: 00011 DateModule 00012 ( 00013 Serial & in_cDisplay, 00014 RTclock & in_cRTclock 00015 ); 00016 virtual ~DateModule(); 00017 00018 virtual bool canRefresh() { return true; } 00019 virtual void change 00020 ( 00021 size_t in_nIndex, 00022 bool in_bUp 00023 ); 00024 virtual int getCursorOffset(size_t & inout_nIndex); 00025 virtual void show(bool in_bRefresh); 00026 00027 protected: 00028 RTclock & m_cRTclock; 00029 tm m_sLastTM; 00030 }; 00031 00032 #endif /* __DATEMODULE_H__ */
Generated on Thu Jul 14 2022 00:55:23 by
1.7.2
