I am having an issue with the Adafruit STEMMA soil sensor where it is just outputting ERROR! into the serial monitor. I used the sample code from the library so I do not think it is a code issue. I have tried changing to a different Arduino(ELEGOO Uno R3) which also did not work. I tried reinstalling the library and testing to make sure that it is getting power. I am using a ELEGOO Arduino Nano V3.0. It works just fine for other code.
This is the sample code they provided:
/*
#include "Adafruit_seesaw.h"
Adafruit_seesaw ss;
void setup() {
Serial.begin(9600);
if(!ss.begin()){
Serial.println("ERROR!");
while(1);
}
else Serial.println("seesaw started");
}
void loop() {
Serial.print(ss.analogRead(2));
Serial.print(",");
Serial.println(ss.analogRead(3));
delay(50);
}

