I have an error saying "Pinmode" not declared in this scope.
Can someone tell me how it should be declared. I tried int, and array but error stays. Thanks
int nbts = 3;
int bts[3];
boolean btgs[3];
int startpin = 7;
//int pinmode[3];
void setup() {
Serial.begin(9600);
for (int i = 0; i <nbts; i++) bts[i] = i + startpin;
for (int i = 0; i <nbts; i++) btgs[1] = false;
for (int i = 0; i <nbts; i++) pinmode(bts[i], INPUT);
}
Sorry if I did not give enough description of the error, seemed to be the main fault. What is the button used for below the sketchpad, it saves to allow pasting but it's a page full. Is there a way to copy just the error?