I am new to lora and have been using the well described Random Nerd tutorials.
Starting with
and now
I would like to use his code with my Heltec V3 board. MIght it work if I just change the pins?
He uses
//Libraries for LoRa
#include <SPI.h>
#include <LoRa.h> <- often used with Arduino C - using “STRING” instead of low level C
//Libraries for OLED Display
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
The challenge is to change the numbers from these.
//define the pins used by the LoRa transceiver module
#define SCK 5 9?
#define MISO 19 11?
#define MOSI 27 10?
#define SS 18 8?
#define RST 14 12?
#define DIO0 26 ???
IRQ??? BUSY???
//OLED pins
#define OLED_SDA 4 17?
#define OLED_SCL 15 18?
#define OLED_RST 16 ??
I am unsure of DIO0 (DIO1) on Haltec
Haltec have a BUSY pin - is that the Nerd IRQ pin?
Or perhaps they are just too different?