Skip to content

Commit 98c7595

Browse files
committed
slow down blink
1 parent 745fcc7 commit 98c7595

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rpi-4b-blink/Sources/Application/Application.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func ledOff() {
6868
}
6969

7070
func delay() {
71-
for _ in 1..<100000 { nop() }
71+
for _ in 1..<1000000 { nop() }
7272
}
7373

7474
@main

rpi-5-blink/Sources/Application/Application.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func ledOff() {
5353
}
5454

5555
func delay() {
56-
for _ in 1..<100000 { nop() }
56+
for _ in 1..<1000000 { nop() }
5757
}
5858

5959
@main

0 commit comments

Comments
 (0)