This class encapsulates all the algorithms required for the displaying strings and time dependent patterns on the lcd.
Dependents: 200943412_QuickClick
Diff: Display.h
- Revision:
- 1:41a1c20a2056
- Parent:
- 0:dd78eca4b004
- Child:
- 4:b74041216336
--- a/Display.h Sat Apr 08 15:01:45 2017 +0000 +++ b/Display.h Mon Apr 10 20:10:26 2017 +0000 @@ -4,6 +4,7 @@ #include "mbed.h" #include "N5110.h" + class Display { @@ -11,16 +12,26 @@ Display(); ~Display(); void init(); - void drawCircle(N5110 &lcd); + void drawCircle(N5110 &lcd); + void random_instruction(N5110 &lcd); + void Circle(N5110 &lcd); private: void calculateWait(); + void circle_refresh(); + void Drawarc(N5110 &lcd, int a); int _h; float _w; int _a; int _A; + int _v; + int x; + int y; + int x0; + int y0; + int radiusError; }; #endif \ No newline at end of file