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
Diff: SX1276GenericPingPong/GenericPingPong.h
- Revision:
- 25:1a031add188a
- Parent:
- 22:abca9d17d13d
- Child:
- 26:69aba05f010f
diff -r e8d03912f303 -r 1a031add188a SX1276GenericPingPong/GenericPingPong.h --- a/SX1276GenericPingPong/GenericPingPong.h Wed Jul 18 21:25:17 2018 +0000 +++ b/SX1276GenericPingPong/GenericPingPong.h Thu Jul 19 21:13:19 2018 +0000 @@ -31,7 +31,14 @@ #endif */ -int SX1276PingPongSetup(void); + + +const uint8_t PingMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'I', 'N', 'G'};// "PING"; +const uint8_t PongMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'O', 'N', 'G'};// "PONG"; + + + +uint8_t * SX1276PingPongSetup(void); int SX1276PingPong(void);