LP Long Distance IR Vision Robot

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

Files at this revision

API Documentation at this revision

Comitter:
walterluu
Date:
Wed Dec 29 06:53:23 2021 +0000
Parent:
43:b38b934d82e6
Commit message:
LP Long Distance IR Vision Robot;

Changed in this revision

SX1276GenericPingPong/GenericPingPong.cpp Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
max32630fthr.lib Show diff for this revision Revisions of this file
--- a/SX1276GenericPingPong/GenericPingPong.cpp	Wed Aug 15 04:12:27 2018 +0000
+++ b/SX1276GenericPingPong/GenericPingPong.cpp	Wed Dec 29 06:53:23 2021 +0000
@@ -219,6 +219,7 @@
 
         
     Radio->Rx( RX_TIMEOUT_VALUE );
+return 0; //added by Walter due to "Control reaches end of non-void function"
 }
 
 /****************************************************************************************************************************************
--- a/main.cpp	Wed Aug 15 04:12:27 2018 +0000
+++ b/main.cpp	Wed Dec 29 06:53:23 2021 +0000
@@ -18,9 +18,9 @@
 DigitalOut myled(LED);
 Serial pc(USBTX, USBRX);
 
-I2C i2cBus0(P1_6, P1_7);
-I2C i2cBus1(P3_4, P3_5);
-I2C i2cBus2(P5_7, P6_0);
+I2C i2cBus0(P1_6, P1_7);            // I2CM0 of MAX32620FTHR
+I2C i2cBus1(P3_4, P3_5);            // I2CM1 of MAX32630FTHR
+I2C i2cBus2(P5_7, P6_0);            // I2CM2 to BMI160 of MAX32630FTHR
 
 /***************************************************************************
  * MAX32630FTHR Instantiation
@@ -792,7 +792,7 @@
         /***************************************************************************
          * Lora Communications
          **************************************************************************/
-        SX1276PingPong();
+        SX1276PingPong();           // what changes here?
         
         /***************************************************************************
          * Fill Main Program Buffers With Data From Received Payload Buffer
--- a/max32630fthr.lib	Wed Aug 15 04:12:27 2018 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://os.mbed.com/users/dev_alexander/code/max32630fthr/#32c43af04e8e