Hello,
using a HTCC-AB01-V2, I try to compile Examples->Sensor-Third Party->ADS1x15->Singleended
but I get some errors (everything works fine compiling whith a wireless stick lite):
- I think I need to correct the second line from
#include <Wire.h>
#include <Adafruit_ADS1015.h>
to
#include <Adafruit_ADS1X15.h>
- when I try to compile, I get the error:
C:\Users\ xxxx\OneDrive\Documenti\Arduino\libraries\Adafruit_ADS1X15/Adafruit_ADS1X15.h:64:1: error: ‘constexpr’ does not name a type
constexpr uint16_t MUX_BY_CHANNEL[] = {
^
C:\Users\xxxx\OneDrive\Documenti\Arduino\libraries\Adafruit_ADS1X15/Adafruit_ADS1X15.h:64:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
exit status 1
Errore durante la compilazione per la scheda CubeCell-Board-V2(HTCC-AB01-V2).
Windows 10
Arduino Ide 1.8.19
Can you help me to fix it?
Many Thanks