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
SyncModule.h
00001 #ifndef __SYNCMODULE_H__ 00002 #define __SYNCMODULE_H__ 00003 00004 #include "module.h" 00005 #include "RTclock.h" 00006 00007 class SyncModule 00008 : public Module 00009 { 00010 public: 00011 SyncModule 00012 ( 00013 Serial & in_cDisplay, 00014 RTclock & in_cClock 00015 ); 00016 virtual ~SyncModule(); 00017 00018 virtual void change 00019 ( 00020 size_t in_nIndex, 00021 bool in_bUp 00022 ); 00023 virtual int getCursorOffset(size_t & inout_nIndex); 00024 virtual void onModeChange(EModes in_eMode); 00025 virtual void show(bool in_bRefresh); 00026 00027 protected: 00028 RTclock & m_cClock; 00029 EModes m_eMode; 00030 bool m_bSync; 00031 }; 00032 00033 #endif /* __SYNCMODULE_H__ */
Generated on Thu Jul 14 2022 00:55:23 by
1.7.2
