![](/media/cache/profiles/profile_pic_for_github_less_than_1MB.jpg.50x50_q85.jpg)
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: PinMap.h
- Revision:
- 15:c70f65d606c4
- Parent:
- 13:5a32a1922fbc
- Child:
- 16:675f4d0ee9e9
--- a/PinMap.h Sun Nov 26 14:12:51 2017 +0000 +++ b/PinMap.h Tue Jan 30 09:51:21 2018 +0000 @@ -10,6 +10,8 @@ #define FEATURE_LORA 1 #elif TARGET_DISCO_L072CZ_LRWAN1 #define FEATURE_LORA 1 +#elif NUCLEO_L432KC + #define FEATURE_LORA 1 #endif @@ -48,4 +50,18 @@ #define LORA_DIO4 PH_0 // ???? #define LORA_DIO5 NC // unused? +#elif defined(TARGET_NUCLEO_L432KC) // using the RFM95 board + + +#define LORA_SPI_MOSI PC_12 +#define LORA_SPI_MISO PC_11 +#define LORA_SPI_SCLK PC_10 +#define LORA_CS PA_0 +#define LORA_RESET PA_1 +#define LORA_DIO0 PD_2 // DIO0=TxDone/RXDone/CADDone +#define LORA_DIO1 NC // +#define LORA_DIO2 NC // +#define LORA_DIO3 NC // +#define LORA_DIO4 NC // +#define LORA_DIO5 NC // #endif \ No newline at end of file