I am having trouble getting the ESP 32 Dev board to compile and load for my project. I am trying to open a Bluetooth scanner to get the UUID of my device, but I cant even get the board to connect. Heres the error message:
/Users/megan/Documents/Arduino/libraries/ESP32_BLE_Arduino
exit status 1
Error compiling for board ESP32 Dev Module.
BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true); //active scan uses more power, but get foundDevices faster
pBLEScan->setInterval(100);
pBLEScan->setWindow(99); // less or equal setInterval value
}
void loop() {
// put your main code here, to run repeatedly:
BLEScanResults foundDevices = pBLEScan->start(scanTime, false);
Serial.print("Devices found: ");
Serial.println(foundDevices.getCount());
Serial.println("Scan done!");
pBLEScan->clearResults(); // delete results fromBLEScan buffer to release memory
delay(2000);
}
error:
Multiple libraries were found for "BLEDevice.h"
Used: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino
Not used: /Users/meganiversen/Library/Arduino15/packages/esp32/hardware/esp32/2.0.5/libraries/BLE
Not used: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino-master
Using library ESP32_BLE_Arduino at version 1.0.1 in folder: /Users/meganiversen/Documents/Arduino/libraries/ESP32_BLE_Arduino
exit status 1
Error compiling for board ESP32 Dev Module.