Smartage application
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2
Fork of STM32L0_LoRa by
Revision 18:d5527ce82e6b, committed 2018-03-12
- Comitter:
- Helmut64
- Date:
- Mon Mar 12 15:00:02 2018 +0000
- Parent:
- 17:98f2528e8399
- Child:
- 19:7763501775e5
- 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(); }