Skip to content

Commit 123e347

Browse files
committed
include required delay.h
1 parent 0270c86 commit 123e347

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Chapter04_Bit-Twiddling/showingOffBits/showingOffBits.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// ------- Preamble -------- //
44
#include <avr/io.h>
55
#include <avr/power.h>
6+
#include <util/delay.h> /* Functions to waste time */
67

78
#define DELAYTIME 85 /* milliseconds */
89
#define LED_PORT PORTB

0 commit comments

Comments
 (0)