Whenever I try to compile my program it gives me an error "Compilation error: digitalWrite() was not declared in this scope" I've never seen this error ever while using arduino ide I recently re-installed the ide and now this error keeps popping up here the code:
void setup() {
// put your setup code here, to run once:
pinMode(7, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(11, HIGH);
delay(1000);
digitWrite(11, LOW)
}