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:
Helmut64
Date:
Mon Mar 12 15:00:02 2018 +0000
Parent:
17:98f2528e8399
Child:
19:9f035b9e65ec
Commit message:
Fixed the Heltec SPI SLCK Pin.

Changed in this revision

PinMap.h 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
--- a/PinMap.h	Fri Feb 23 12:57:25 2018 +0000
+++ b/PinMap.h	Mon Mar 12 15:00:02 2018 +0000
@@ -60,6 +60,7 @@
 #define USER_BUTTON     PH_3    // boot pin
 #define LED             PB_0    // red
 #define LED2            PB_1    // green
+#define LED1            LED
 
 #define POWER_VEXT      PA_3
 #define POWER_VEXT_ON   0
@@ -68,7 +69,7 @@
 
 #define LORA_SPI_MOSI   PA_7
 #define LORA_SPI_MISO   PA_6
-#define LORA_SPI_SCLK   PB_5
+#define LORA_SPI_SCLK   PA_5
 #define LORA_CS         PA_4
 #define LORA_RESET      PA_1
 #define LORA_DIO0       PA_0    // DIO0=TxDone/RXDone/CADDone
--- a/main.cpp	Fri Feb 23 12:57:25 2018 +0000
+++ b/main.cpp	Mon Mar 12 15:00:02 2018 +0000
@@ -22,8 +22,7 @@
      */
     InitSerial(30*1000, &myled);
     dprintf("Welcome to the SX1276GenericLib");
-    myled = 1;
-
+  
     dprintf("Starting a simple LoRa PingPong");
     SX1276PingPong();
 }