nRF24 / CircuitPython_nRF24L01

CircuitPython driver library for the nRF24L01 transceiver.
http://circuitpython-nrf24l01.rtfd.io/
MIT License
45 stars 11 forks source link

Mesh Example on Pico 2040 #36

Closed folksman closed 2 years ago

folksman commented 2 years ago

Can you may take a look to the Mesh example? I try it on my pico 2040 but have problems since the board has no SPI as console say?

folksman commented 2 years ago

My Mistake. Need some bit different configuartion. Works now :)

2bndy5 commented 2 years ago

I don't have a RPi Pico board to test on. In fact, I developed the networking API on my Feather RP2040. I need more details about the problem your facing.

the board has no SPI as console say?

I'm not really sure what you mean here (your English is hard to read). I'm guessing the

SPI_BUS = board.SPI()

is what you are trying to hint at. You could instead try specifying the SPI pins using busio.SPI(). But remember to add import busio at the top of the script.