timmbogner / Farm-Data-Relay-System

A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
MIT License
507 stars 114 forks source link

Add prefix to defines and unify SPI initialization #50

Closed thefeiter closed 2 years ago

thefeiter commented 2 years ago

I had some issues on platformio with the defines as well, so I added some prefixes.

On the way I also unified the initialization of SPI. It should only be called when not using the default SPI pins (e.g. on ESP32)

Therefore I also added a comment in the setup files.

thefeiter commented 2 years ago

ping #47

timmbogner commented 2 years ago

Niiice. I'll look over it after I get home from work today. Also fyi I'm gonna do some hardware testing and then pull the SD stuff too. Thanks!

timmbogner commented 2 years ago

Kewl!