Forum Replies Created
-
AuthorPosts
-
I figured out the issue but I am now facing another error. I keep getting the following error message –
C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\AlphasenseCO2.cpp:17:10: fatal error: Adafruit_ADS1X15.h: No such file or directory
#include <Adafruit_ADS1X15.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board EnviroDIY Mayfly 1284p.Any help would be appreciated. Thank you.
I have modified the sketch by replacing the UUID list in the original NoCellular sketch with my UUID list from Monitor My Watershed.
I am using Arduino 1.8.19
I checked the libraries using your method and I do see all the examples and the sketches under the ModularSensors list.
I now ran into another problem which I believe is related to the DS3231 clock. I was able to set the time correctly using the directions from this page – 4. Preparing the Mayfly Data Logger – EnviroDIY
However, when I tried to upload the sketch for DRWI_NoCellular, I got the following error window:
Arduino: 1.8.19 (Windows 10), Board: “EnviroDIY Mayfly 1284p”
C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp: In member function ‘virtual bool MaximDS3231::startSingleMeasurement()’:
C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp:46:33: error: no matching function for call to ‘Sodaq_DS3231::convertTemperature(bool)’
rtc.convertTemperature(false);
^
In file included fromC:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp:10:0:
C:\Users\Documents\Arduino\libraries\Sodaq_DS3231\src/Sodaq_DS3231.h:73:10: note: candidate: void Sodaq_DS3231::convertTemperature()
void convertTemperature();
^~~~~~~~~~~~~~~~~~
C:\Users\Documents\Arduino\libraries\Sodaq_DS3231\src/Sodaq_DS3231.h:73:10: note: candidate expects 0 arguments, 1 provided
exit status 1
Error compiling for board EnviroDIY Mayfly 1284p.This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.Yes, I believe I have. It looks like I downloaded all recommended EnviroDIY libraries (47). Do I need to do anything with them once I have them in my library folder? Do I need to install all of them in Arduino somehow?
-
AuthorPosts