//pwmExample from addOhms const byte led = 13; const byte pwm = 3; void setup() { // put your setup code here, to run once: initialize uno pins. pinMode(led, OUTPUT); pinMode(pwm, OUTPUT); analogWrite(pwm, 128); } void loop() { // put your main code here, to run repeatedly: digitalWrite(led, HIGH); delay(100); digitalWrite(led, LOW); delay(100); }