1

You CAN store them in an array, but NOT in an array of pointers to characters. That is just the wrong type. Try Adafruit_MAX31856 thermocouples[] = {TCouple1, ...} or even ditch the first declarations and use Adafruit_MAX31856 thermocouples[] = { Adafruit_MAX31856(2,11,12,13), Adafruit_MAX31856(3,11,12,13), Adafruit_MAX31856(4,11,12,13), ... ...


1

I see the problem here. Now observe the if(Serial.available>0) { //Block of Statements } Your closing bracket for that if statement must be after the switch() statement. For every iteration (void loop()) your command variable runs your switch and calls the enrolling function. So it should be: if (Serial.available>0){ //Block of statements Switch(...


Only top voted, non community-wiki answers of a minimum length are eligible