I am trying to send data from pico raspberry pi to another pico through SX1262 where i can’t send it.
I already tried the ping pong example (from: https://github.com/sammachin/micropySX126X) but the sx1262 library gives me errors in the Thonny IDE.
Traceback (most recent call last):
File "", line 19, in
File "/lib/sx1262.py", line 27, in begin
File "/lib/sx126x.py", line 115, in begin
File "/lib/sx126x.py", line 240, in reset
File "/lib/sx126x.py", line 389, in standby
File "/lib/sx126x.py", line 1270, in SPIwriteCommand
File "/lib/sx126x.py", line 1287, in SPItransfer
TypeError: object with buffer protocol required
then we tried using ‘AT commands’ but there is no response (code: https://techtotinker.blogspot.com/2021/03/exploring-lora-rylr896-with-micropython.html)
We don’t want to use lorawan
can you help please if you found the solution?
>Solution :
I tried this and it works: try this
https://github.com/ehong-tl/micropySX126X