I have something strange going on with an output. When the following code is called the LED goes on, but it stays on, there is no blinking. If I comment out the set HIGH statement the LED never comes on (as expected).
#define devicePin 10
void setup() {
pinMode(devicePin, OUTPUT);
}
void loop() {
digitalWrite(devicePin, HIGH);
delay(2000);
digitalWrite(devicePin, LOW);
}
Could I have damaged the board in some way?