This is example code that can get you started with building your own IR vision robot that communicates over LoRa

Dependencies:   Adafruit-MotorShield Adafruit-PWM-Servo-Driver Adafruit_GFX BufferedSerial MAX17055_EZconfig NEO-6m-GPS SX1276GenericLib USBDeviceHT max32630fthr max77650_charger_sample

Fork of MAX326xxFTHR_LoRa_Example_test by Devin Alexander

Revision:
24:e8d03912f303
Parent:
23:f74a50977593
Child:
25:1a031add188a
diff -r f74a50977593 -r e8d03912f303 main.cpp
--- a/main.cpp	Wed Jul 18 18:52:30 2018 +0000
+++ b/main.cpp	Wed Jul 18 21:25:17 2018 +0000
@@ -69,7 +69,7 @@
      **************************************************************************/
     #if   defined(TARGET_MAX32630FTHR) // Master Device: BLE-to-LoRa Gateway
         int frame_idx = 0;
-    #elif defined(TARGET_MAX32620FTHR) // Client Device: LoRa Controlled Robot
+    #elif defined(TARGET_MAX32620FTHR) // Slave Device: LoRa Controlled Robot
         // none yet
     #endif
     
@@ -80,7 +80,6 @@
          * Grid Eye Sensor 
          **************************************************************************/
         #if   defined(TARGET_MAX32630FTHR) // Master Device: BLE-to-LoRa Gateway
-        
             // Check to see if the contents of the previous scan are the same. If they are different then continue with converting
             if( memcmp(prev_raw_frame_data_from_slave, curr_raw_frame_data_from_slave, sizeof(curr_raw_frame_data_from_slave)) != 0 )
             {
@@ -104,14 +103,11 @@
                 // Increment frame counter
                 frame_idx = frame_idx +1;
             }
-            
-        #elif defined(TARGET_MAX32620FTHR) // Client Device: LoRa Controlled Robot
+        #elif defined(TARGET_MAX32620FTHR) // Slave Device: LoRa Controlled Robot
             // Aquire raw data about 8x8 frame from the grid eye sensor in this function call 
             gridEye.getRaw8x8FrameData(curr_raw_frame_data_to_master);
-            
         #endif
 
-    
         /***************************************************************************
         * Lora Communications
         **************************************************************************/