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 QEI DmTftLibrary
Diff: main.cpp
- Revision:
- 14:ebd89dacc807
- Parent:
- 0:9c0917bfde97
- Child:
- 15:ed7ed20b7114
--- a/main.cpp Tue May 30 12:02:47 2017 +0000
+++ b/main.cpp Thu Aug 17 10:22:32 2017 +0000
@@ -18,6 +18,7 @@
#include "Eeprom.h"
#include "GpsMax7.h"
#include "SX9306.h"
+#include "sx1280-hal.h"
/*!
@@ -35,6 +36,8 @@
s.baud( baudrate );
}
+extern SX1280Hal Radio;
+
int main( )
{
uint8_t currentPage = START_PAGE;
@@ -45,6 +48,8 @@
F_CS = 1;
SD_CS = 1;
+ printf( "Starting SX1280DevKit : %s\n\r", FIRMWARE_VERSION );
+
EepromInit( );
InitDemoApplication( );
MenuInit( );
@@ -52,7 +57,7 @@
Max7GpsInit( );
SX9306ProximityInit( );
- printf( "Start SX1280DevKit : %s\n\r", FIRMWARE_VERSION );
+ printf( "Radio version: 0x%x\n\r", Radio.GetFirmwareVersion( ) );
while( 1 )
{