tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 182 forks source link

sx127x: implement LoRa driver for sx127x #494

Closed deadprogram closed 1 year ago

deadprogram commented 1 year ago

This PR brings in the commits from the @ofauchon branch implementing the sx127x for LoRa communication.

deadprogram commented 1 year ago

This is now working with my PyBadge + LoRa Featherwing:

# TinyGo Lora RX/TX test
# ----------------------
main: create and start SX127x driver
main: sx127x found
main: Receiving Lora for 10 seconds
main: End Lora RX
LORA TX size= 12  ->  Hello TinyGO
main: Receiving Lora for 10 seconds
main: End Lora RX
LORA TX size= 12  ->  Hello TinyGO
main: Receiving Lora for 10 seconds
deadprogram commented 1 year ago

Merging after review from @ofauchon thanks!