mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
sx127x: lora rx/tx example working, now assumes pybadge+featherwing
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user