diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -62,9 +62,9 @@ async fn blink(pin: AnyPin) { | |||
| 62 | loop { | 62 | loop { |
| 63 | // Timekeeping is globally available, no need to mess with hardware timers. | 63 | // Timekeeping is globally available, no need to mess with hardware timers. |
| 64 | led.set_high(); | 64 | led.set_high(); |
| 65 | Timer::after(Duration::from_millis(150)).await; | 65 | Timer::after_millis(150).await; |
| 66 | led.set_low(); | 66 | led.set_low(); |
| 67 | Timer::after(Duration::from_millis(150)).await; | 67 | Timer::after_millis(150).await; |
| 68 | } | 68 | } |
| 69 | } | 69 | } |
| 70 | 70 | ||
