A basic graphics package for the LPC4088 Display Module.
Dependents: lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more
Fork of DMBasicGUI by
Application/App.h
- Committer:
- embeddedartists
- Date:
- 2014-12-11
- Revision:
- 0:4977187e90c7
- Child:
- 1:46c8df4608c8
File content as of revision 0:4977187e90c7:
#ifndef APP_H #define APP_H /** * LcdController example * * @code * #include "mbed.h" * #include "LcdController.h" * * LcdController::Config innolux( * 45, * 17, * 2, * 800, * 22, * 22, * 2, * 480, * false, * false, * true, * true, * true, * LcdController::Bpp_16_565, * 36000000, * LcdController::Tft, * false); * * int main(void) { * LcdController lcd; * * lcd.open(&innolux); * lcd.setFrameBuffer(frameBuffer); * lcd.setPower(true); * * // draw on the frame buffer * ... * } * @endcode */ class App { public: virtual bool setup() { return true; } virtual void runToCompletion() = 0; virtual bool teardown() { return true; } }; #endif