Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"
In function 'void loop()':
demo:9: error: 'ledPin' was not declared in this scope
digitalWrite(ledPin, HIGH);
^
exit status 1
'ledPin' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.