examples: lora/lorawan pin mapping for lgt92 and Adafruit Featherwing

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2023-01-26 23:53:50 +01:00
committed by Ron Evans
parent 7506a895a2
commit 3b8a808a52
3 changed files with 27 additions and 6 deletions
@@ -0,0 +1,14 @@
//go:build featherwing
package common
import "machine"
var (
// We assume LoRa Featherwing module with sx127x is connected to PyBadge
rstPin = machine.D11
csPin = machine.D10
dio0Pin = machine.D6
dio1Pin = machine.D9
spi = machine.SPI0
)