sx127x: lora rx/tx example working, now assumes pybadge+featherwing

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2022-12-26 16:59:38 +01:00
committed by Ron Evans
parent 6d51370512
commit 9b14ee3ec5
2 changed files with 8 additions and 23 deletions
-16
View File
@@ -31,22 +31,6 @@ const (
RFSWITCH_TX_HP = iota
)
// const (
// RadioEventRxDone = iota
// RadioEventTxDone = iota
// RadioEventTimeout = iota
// RadioEventWatchdog = iota
// RadioEventCrcError = iota
// RadioEventUnhandled = iota
// )
// // RadioEvent are used for communicating in the radio Event Channel
// type RadioEvent struct {
// EventType int
// IRQStatus uint16
// EventData []byte
// }
const (
PERIOD_PER_SEC = (uint32)(1000000 / 15.625) // SX1261 DS 13.1.4
SPI_BUFFER_SIZE = 256