Stabilus 322699 wDoublePID, ErrorGetter

Dependencies:   mbed QEI PID DmTftLibraryEx

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 )
     {