void setup() { pinMode(ledPin, OUTPUT); // sets the digital pin as output }