tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/sx126x/lora_continuous/radio_stm32wl.go (about)

     1  //go:build stm32wlx
     2  
     3  package main
     4  
     5  import (
     6  	"machine"
     7  
     8  	"tinygo.org/x/drivers/sx126x"
     9  )
    10  
    11  var spi = machine.SPI3
    12  
    13  func newRadioControl() sx126x.RadioController {
    14  	return sx126x.NewRadioControl()
    15  }