Adding Arduino r4 wifi to Firmata board.h file

Just as you use libraries in your sketch code, libraries may use other libraries. When you are using one of the libraries that does this, it is necessary to install the other libraries on which the library depends in addition to the library you are using directly in your sketch.

The "ConfigurableFirmata" library has a dependency on the "DHT sensor library" library. You don't have the "DHT sensor library" library installed, so the compilation fails with this "No such file or directory" error.

You can solve it by installing the missing library.

I'll provide instructions you can follow to do that:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type DHT sensor library in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "DHT sensor library by Adafruit" entry.
  4. You will see an "INSTALL" button at the bottom of the entry. Click the button.
    An "Install library dependencies" dialog will open.
  5. Click the "INSTALL ALL" button in the "Install library dependencies" dialog.
    The dialog will close.
  6. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Now try compiling or uploading your sketch again. Hopefully this time you won't have any errors and everything will work as expected.

1 Like