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.
display.h@1:a6f341df1ef1, 2014-04-03 (annotated)
- Committer:
- jmoffat
- Date:
- Thu Apr 03 20:24:36 2014 +0000
- Revision:
- 1:a6f341df1ef1
- Parent:
- 0:6846cd4549ba
- Child:
- 2:c3231b95aff0
Mostly finished. Have added the functions for displaying strength and dist, though minor mods may be needed. Also need to add calibration screens.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jmoffat | 0:6846cd4549ba | 1 | #include "st7735.h" |
jmoffat | 0:6846cd4549ba | 2 | |
jmoffat | 0:6846cd4549ba | 3 | class display |
jmoffat | 0:6846cd4549ba | 4 | { |
jmoffat | 0:6846cd4549ba | 5 | ST7735_LCD *lcd; |
jmoffat | 1:a6f341df1ef1 | 6 | char *debugstr; |
jmoffat | 0:6846cd4549ba | 7 | char *strength; |
jmoffat | 0:6846cd4549ba | 8 | char *dist; |
jmoffat | 0:6846cd4549ba | 9 | |
jmoffat | 0:6846cd4549ba | 10 | public: |
jmoffat | 0:6846cd4549ba | 11 | |
jmoffat | 0:6846cd4549ba | 12 | display(ST7735_LCD *disp); |
jmoffat | 0:6846cd4549ba | 13 | |
jmoffat | 0:6846cd4549ba | 14 | |
jmoffat | 0:6846cd4549ba | 15 | void print(char *str); |
jmoffat | 0:6846cd4549ba | 16 | void printrb(const char *str); |
jmoffat | 0:6846cd4549ba | 17 | |
jmoffat | 0:6846cd4549ba | 18 | void blinktext(const char *str); |
jmoffat | 0:6846cd4549ba | 19 | |
jmoffat | 1:a6f341df1ef1 | 20 | void displayStr(char *newStrength); |
jmoffat | 1:a6f341df1ef1 | 21 | |
jmoffat | 1:a6f341df1ef1 | 22 | void displayDist(char * newDist); |
jmoffat | 0:6846cd4549ba | 23 | }; |