pio: nrf52 test blinks LED.
This commit is contained in:
parent
fddd50e701
commit
50b0827983
|
@ -4,9 +4,11 @@ const int ledPin = 17;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
pinMode(ledPin, OUTPUT);
|
pinMode(ledPin, OUTPUT);
|
||||||
digitalWrite(ledPin, HIGH);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// put your main code here, to run repeatedly:
|
digitalWrite(ledPin, HIGH);
|
||||||
|
delay(1000);
|
||||||
|
digitalWrite(ledPin, LOW);
|
||||||
|
delay(1000);
|
||||||
}
|
}
|
Loading…
Reference in New Issue