earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.03k stars 422 forks source link

Ardunio LoRa SX1262 Module Examples Learning Materials? #1621

Closed kkkreset closed 1 year ago

kkkreset commented 1 year ago

I started to learn Arduion, but I encountered obstacles in using it. There were no suitable examples of the module.

maxgerhardt commented 1 year ago

The classiscal https://github.com/matthijskooijman/arduino-lmic libary now points at for https://github.com/LacunaSpace/basicmac for a library with SX1262 support. This library should only need the most basic SPI library to function and thus should work with this core no problems. Have you tried this?

Alternatively, tried https://github.com/beegee-tokyo/SX126x-Arduino/tree/master/examples/LoRaWan? That's a port of https://github.com/Lora-net/LoRaMac-node/ for Arduino.

Strictly speaking, this is not an issue of this core. Maybe a discussion topic.

Edit: And just to be sure, you are using a Raspberry Pi Pico (based) board and a Semtech SX1262 module, which exposes its SPI (and DIO) interface, yeah?