I just purchased two Heltec IOT Lora Wireless Stick Upgrade esp32 lora/WiFi lora Development Board with 0.49inch OLED Display 868MHZ/915MHZ. I am only interested in local LoRa transmit/receive devices to monitor sensor data (BME280).
Using the Arduino IDE Heltec-Examples I can these two devices to communicate (one sender and one receiver). All is good so far. I prefer to use platformIo to develop code and I cannot get either the receiver or transimtter code to build without errors.
Here is my platformio.ini contents:
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
monitor_speed = 115200
lib_deps = heltecautomation/ESP32_LoRaWAN@^2.1.1
The error is
fatal error: SPI.h: No such file or directory
Any help would be appreciated