Blink:27:10: fatal error: Nano33BLEMicrophoneRMS.h: No such file or directory #include "Nano33BLEMicrophoneRMS.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Nano33BLEMicrophoneRMS.h: No such file or directory
Just to be safe I double checked my board is actually set to the Nano 33 BLE, (Boards Manager > Arduino mbed-enabled Boards), then board: "Arduino Nano 33 BLE" and I've tried bluetooth and the actual port I'm using -- although I assume the issue is that I'm missing a download from the library? The 5 that I initially installed, being:
Arduino_APDS9960 (gestures, color, proximity)
Arduino_HTS221 (temperature, humidity)
Arduino_LPS22HB (pressure)
Arduino_LSM6DS3 (accelerometer and gyroscope)
Arduino_LSM9DS1 (accelerometer, magnetometer, and gyroscope)
I haven't been able to find anything that sounds like it works for the microphone. Most examples I've seen only include these five. I'd greatly appreciate anything that may point me in the right direction. I've only ever used an Arduino Uno in projects before (and that was a little while ago), so I'm not sure if there are any obvious steps that I'm missing here.
t_engr:
I assume the issue is that I'm missing a download from the library? The 5 that I initially installed, being:
Arduino_APDS9960 (gestures, color, proximity)
Arduino_HTS221 (temperature, humidity)
Arduino_LPS22HB (pressure)
Arduino_LSM6DS3 (accelerometer and gyroscope)
Arduino_LSM9DS1 (accelerometer, magnetometer, and gyroscope)
You're right. The instructions in the Project Hub tutorial you're following tell you which library you need to install:
Nano33BLESensor is an Arduino library for the Nano 33 BLE Sense that leverages Mbed OS to automatically place sensor measurements in a ring buffer that can be integrated into programs in a simple manner. Nano33BLESensor was created to help make easy to understand examples for the Arduino Nano 33 BLE Sense that utilise Mbed OS. Download this file as a zip, and extract the resulting folder into your Arduino Libraries folder. Alternatively, use the Arduino IDE and library manager to find and install Nano33BLESensor.
Please give that a try and then if you have any problems or the code still doesn't compile after you install the library, let us know and we'll help you out.