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
Modules/TimeModule.h
- Committer:
- vtraveller
- Date:
- 2014-08-11
- Revision:
- 13:9641bc42db92
- Parent:
- 11:96146db429de
- Child:
- 15:d1eaddb363be
File content as of revision 13:9641bc42db92:
#ifndef __TIMEMODULE_H__
#define __TIMEMODULE_H__
#include "module.h"
#include "RTclock.h"
class TimeModule
: public Module
{
public:
TimeModule
(
Serial & in_cDisplay,
RTclock & in_cRTclock
);
virtual ~TimeModule();
virtual bool canRefresh() { return true; }
virtual void change
(
size_t in_nIndex,
bool in_bUp
);
virtual int getCursorOffset(size_t & inout_nIndex);
virtual void show();
protected:
RTclock & m_cRTclock;
};
#endif /* __TIMEMODULE_H__ */
