aboutsummaryrefslogtreecommitdiff
path: root/examples/blink
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-01-30 20:45:41 +0100
committerKarel Kočí <cynerd@email.cz>2017-01-30 20:45:41 +0100
commit5ab2332addae2a90a1fa438c91e8069ebbfc4082 (patch)
tree0bb7a5beb82e545feaebbaa7cf7ccd776170fd71 /examples/blink
parentf851f9edefdc5ac3e282e173b4b0d47df19af4ab (diff)
downloadavr-ioe-5ab2332addae2a90a1fa438c91e8069ebbfc4082.tar.gz
avr-ioe-5ab2332addae2a90a1fa438c91e8069ebbfc4082.tar.bz2
avr-ioe-5ab2332addae2a90a1fa438c91e8069ebbfc4082.zip
Cleanup repository
I don't have enough time to implement everything so I am cutting losses. I might return to it later on, but now I push forward to implement at least base features.
Diffstat (limited to 'examples/blink')
-rw-r--r--examples/blink/blink.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/blink/blink.c b/examples/blink/blink.c
index 6a81aee..912ce80 100644
--- a/examples/blink/blink.c
+++ b/examples/blink/blink.c
@@ -3,12 +3,12 @@
#include <ioport.h>
int main() {
- io_setout(IO_B0);
+ io_setout(IO_B0);
- while (1) {
- io_hight(IO_B0);
- _delay_ms(500);
- io_low(IO_B0);
- _delay_ms(500);
- }
+ while (1) {
+ io_hight(IO_B0);
+ _delay_ms(500);
+ io_low(IO_B0);
+ _delay_ms(500);
+ }
}