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: SX1276Lib AdaFruit_RGBLCD MCP23017 mbed
Fork of AdaFruit_RGBLCD by
Diff: Modules/TitleModule.h
- Revision:
- 25:24654d08a99a
- Parent:
- 15:d1eaddb363be
--- a/Modules/TitleModule.h Wed Oct 08 16:42:17 2014 +0000
+++ b/Modules/TitleModule.h Thu Oct 09 08:03:20 2014 +0000
@@ -2,15 +2,25 @@
#define __TITLEMODULE_H__
#include "module.h"
+#include "RTclock.h"
class TitleModule
: public Module
{
public:
- TitleModule(Serial & in_cDisplay);
+ TitleModule
+ (
+ Serial & in_cDisplay,
+ RTclock & in_cRTclock
+ );
virtual ~TitleModule();
+ virtual bool canRefresh() { return true; }
virtual void show(bool in_bRefresh);
+
+protected:
+ RTclock & m_cRTclock;
+ tm m_sLastTM;
};
#endif /* __TITLEMODULE_H__ */
