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@5:69f814a22160, 2018-04-18 (annotated)
- Committer:
- Nurchu
- Date:
- Wed Apr 18 14:53:38 2018 +0000
- Revision:
- 5:69f814a22160
- Parent:
- 3:a4e2d9e9b294
- Child:
- 7:0ac1f1ca8aa6
Filled out the HUD with the skeleton functions
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| Nurchu | 3:a4e2d9e9b294 | 1 | #include "HUD.h" | 
| Nurchu | 5:69f814a22160 | 2 | #include "rtos.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 | 5:69f814a22160 | 8 | uLCD->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) {} |