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/module.h
- Committer:
- vtraveller
- Date:
- 2014-08-10
- Revision:
- 11:96146db429de
- Parent:
- 10:3fcab08717fc
- Child:
- 13:9641bc42db92
File content as of revision 11:96146db429de:
#ifndef __MODULE_H__ #define __MODULE_H__ #include "Adafruit_RGBLCDShield.h" #ifndef _countof #define _countof(a) (sizeof(a) / sizeof(a[0])) #endif class Module { public: Module(Adafruit_RGBLCDShield & in_cLCD); virtual ~Module(); virtual bool canRefresh() { return false; } virtual void change ( int in_nIndexX, int in_nCursorY, bool in_bUp ) { ; } virtual int setCursor ( int in_nIndex, int in_nCursorX, int in_nCursorY ) { return -1; } virtual void show() = 0; protected: Adafruit_RGBLCDShield & m_cLCD; }; #endif /* __MODULE_H__ */