I’m not a heavy user of Arduino IDE (it’s terrible!), but the eBook “Learn ESP32 with Arduino IDE” uses it, so I’m stuck with it (I’m on a PC). I upgraded to IDE 2.0 hoping it would be better, but it’s not. Anyway, I want to do the ESP_NOW chapter, and have to upload libraries Adafruit_GFX, Adafruit_SSD1306, Adafruit_Sensor, and Adafuit BME280. In the library manger, these libraries don’t come up, and of course, when I try to build the ESP_NOW_Sender_Receiver_Two_Way.ino I get: Compilation error: Adafruit_Sensor.h: No such file or directory (I do have the https://dl.espressif.com/dl/package_esp32_index.json link in File/Preferences)
I saw a post on this and downloaded each of those libraries from github, removed the -master on the unzipped version, but I can’t find where to put them. Unlike IDE 1.x, where libraries are in the /ProgramFiles (x86)/Arduino/libraries directory, in IDE 2.0 (a 64bit compile), the libraries are not obvious. Any help would be appreciated 🙂
I must have touched a “hornets’ nest” = IDE 2.0. … ok, so de-installed that; reinstalled IDE 1.8.16, and followed the instructions on pg 425 of “Learn ESP32 using Arduino IDE” eBook, except couldn’t find “Adafruit Unified Sensor Library” … but apparently didn’t need it. The code of this Module 8 Unit 2 compiles fine, downloads fine and works fine. …. a happy camper here 🙂