From 8afa37d3e9cd2f2ae00720e90e48e1b8094bd584 Mon Sep 17 00:00:00 2001 From: megidervishi Date: Mon, 14 Dec 2020 20:28:18 +0100 Subject: [PATCH 1/2] Update 'led.c' --- led.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/led.c b/led.c index 9826340..99e4526 100644 --- a/led.c +++ b/led.c @@ -5,15 +5,15 @@ int main (void) { - /* set pin 5 of PORTB for output*/ + /* set pin 4 of PORTB for output*/ DDRB |= _BV(DDB4); while(1) { - /* set pin 5 high to turn led on */ + /* set pin 4 high to turn led on */ PORTB |= _BV(PORTB4); _delay_ms(BLINK_DELAY_MS); - /* set pin 5 low to turn led off */ + /* set pin 4 low to turn led off */ PORTB &= ~_BV(PORTB4); _delay_ms(BLINK_DELAY_MS); } From c7b91032cd5bd8ab70d0a0c2782f2b9ede58e88e Mon Sep 17 00:00:00 2001 From: megidervishi Date: Mon, 14 Dec 2020 20:28:57 +0100 Subject: [PATCH 2/2] Delete 'script.sh' --- script.sh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 script.sh diff --git a/script.sh b/script.sh deleted file mode 100644 index a2d3e42..0000000 --- a/script.sh +++ /dev/null @@ -1,8 +0,0 @@ -heptc arduinolib.epi -heptc -target c prog.ept -gcc -c -I /Users/megidervishi/.opam/4.10.0/lib/heptagon/c -I . arduinolib.c prog_c/*.c - -$(TARGET).c: - heptc $(CFILE).epi - heptc -target c $(HEPT).ept - $(CC) $(CFLAGS) -c -I $(ADDR) -I . $(CFILE).c $(TARGET).c