I have following line of code.
test[k]->Auto->printPowerStatus();
This prints out following
0 ON, 1 ON, 2 ON, 3 ON, 4 ON, 5 OFF, 6 ON, 7 ON
8 ON, 9 ON, 10 OFF, 11 ON, 12 ON, 13 ON, 14 ON, 15 ON
I want to be able to search for "OFF" and if found, do something. If not, do something else. I cant figure out a way to do this. Can someone please help?