pio: nrf52 test blinks LED.

This commit is contained in:
Kyle Isom 2018-12-29 14:02:49 -08:00
parent fddd50e701
commit 50b0827983
1 changed files with 5 additions and 3 deletions

View File

@ -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);
} }