//Turn on LED using Arduino //define the pin constants int ledPin = 22; void setup(){ //set the pin mode to output pinMode(ledPin, OUTPUT); } void loop(){ //turn on the led digitalWrite(ledPin,HIGH); }