jgromes / RadioLib

Universal wireless communication library for embedded devices
https://jgromes.github.io/RadioLib/
MIT License
1.59k stars 398 forks source link

[Help] stm32f1 SPI2 #98

Closed JyeSmith closed 4 years ago

JyeSmith commented 4 years ago

What is the best way to use SPI2 on the stm32f1?

Thanks

JyeSmith commented 4 years ago

Always the way... ask and then immediately figure it out 😄

SPIClass SPITwo(PB15, PB14, PB13);
SX1276 lora = new Module(LoRa_NSS, LoRa_DIO0, LoRa_RESET, LoRa_DIO1, SPITwo);