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
Diff: HUD.cpp
- Revision:
- 5:69f814a22160
- Parent:
- 3:a4e2d9e9b294
- Child:
- 7:0ac1f1ca8aa6
--- a/HUD.cpp	Wed Apr 18 14:45:12 2018 +0000
+++ b/HUD.cpp	Wed Apr 18 14:53:38 2018 +0000
@@ -1,3 +1,14 @@
 #include "HUD.h"
+#include "rtos.h"
 
-HUD:HUD() {}
\ No newline at end of file
+HUD::HUD(PinName tx, PinName rx, PinName reset) {
+    lcd = new uLCD_4DGL(tx, rx, reset);
+    
+    lcd->baudrate(BAUD_3000000);
+    uLCD->cls();
+    Thread::wait(100);
+}
+HUD::~HUD() {}
+
+void HUD::displayChannel(uint8_t channel) {}
+void HUD::displayP2T(bool isTalking) {}
\ No newline at end of file