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 4DGL-uLCD-SE mbed-rtos nRF24L01P
HUD.cpp@8:0222df74596e, 2018-04-18 (annotated)
- Committer:
- Nurchu
- Date:
- Wed Apr 18 15:22:38 2018 +0000
- Revision:
- 8:0222df74596e
- Parent:
- 7:0ac1f1ca8aa6
Fixed some compile errors
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Nurchu | 7:0ac1f1ca8aa6 | 1 | #include "rtos.h" |
| Nurchu | 3:a4e2d9e9b294 | 2 | #include "HUD.h" |
| Nurchu | 3:a4e2d9e9b294 | 3 | |
| Nurchu | 5:69f814a22160 | 4 | HUD::HUD(PinName tx, PinName rx, PinName reset) { |
| Nurchu | 5:69f814a22160 | 5 | lcd = new uLCD_4DGL(tx, rx, reset); |
| Nurchu | 5:69f814a22160 | 6 | |
| Nurchu | 5:69f814a22160 | 7 | lcd->baudrate(BAUD_3000000); |
| Nurchu | 8:0222df74596e | 8 | lcd->cls(); |
| Nurchu | 5:69f814a22160 | 9 | Thread::wait(100); |
| Nurchu | 5:69f814a22160 | 10 | } |
| Nurchu | 5:69f814a22160 | 11 | HUD::~HUD() {} |
| Nurchu | 5:69f814a22160 | 12 | |
| Nurchu | 5:69f814a22160 | 13 | void HUD::displayChannel(uint8_t channel) {} |
| Nurchu | 5:69f814a22160 | 14 | void HUD::displayP2T(bool isTalking) {} |