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: mbed TextLCD keypad
screens/Screen.cpp@27:f29805113454, 2017-02-09 (annotated)
- Committer:
- sillevl
- Date:
- Thu Feb 09 12:28:56 2017 +0000
- Revision:
- 27:f29805113454
ARCHIVE WIP, not working (crashes, cause unknown)
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sillevl | 27:f29805113454 | 1 | #include "Screen.h" |
| sillevl | 27:f29805113454 | 2 | |
| sillevl | 27:f29805113454 | 3 | using namespace AirsoftTimer; |
| sillevl | 27:f29805113454 | 4 | |
| sillevl | 27:f29805113454 | 5 | Screen::Screen(Board* board){ |
| sillevl | 27:f29805113454 | 6 | this->board = board; |
| sillevl | 27:f29805113454 | 7 | update_display = true; |
| sillevl | 27:f29805113454 | 8 | } |
| sillevl | 27:f29805113454 | 9 | |
| sillevl | 27:f29805113454 | 10 | void Screen::update(){ |
| sillevl | 27:f29805113454 | 11 | update_display = true; |
| sillevl | 27:f29805113454 | 12 | } |
| sillevl | 27:f29805113454 | 13 | |
| sillevl | 27:f29805113454 | 14 | void Screen::show(){ |
| sillevl | 27:f29805113454 | 15 | update_display = false; |
| sillevl | 27:f29805113454 | 16 | } |
