CY Lim
/
LoRaWAN-demo-SX1272-RP
RP
Diff: app/SerialDisplay.cpp
- Revision:
- 13:4429cb012011
- Parent:
- 0:45496a70a8a5
--- a/app/SerialDisplay.cpp Wed Jul 25 08:18:57 2018 +0000 +++ b/app/SerialDisplay.cpp Thu Jul 26 07:25:15 2018 +0000 @@ -211,7 +211,16 @@ vt.SetCursorPos( 42, 1 ); vt.printf( "To refresh screen please hit 'r' key." ); } - +void SerialDisplayData(uint16_t data) +{ + vt.SetCursorPos( 43, 1 ); + vt.printf( "Data:%4x", data); +} +void SerialDisplayFloat(float fdata) +{ + vt.SetCursorPos( 43, 15 ); + vt.printf( "FData:%f", fdata); +} void SerialDisplayUpdateDonwlinkRxData( bool state ) { vt.SetCursorPos( 34, 4 );