From 0b30e830bfc8e35bef5fd7fb81be87caf9dc0a62 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Mon, 16 Jul 2018 17:16:13 +0200 Subject: [PATCH] 1 --- Debug/AtTiny_alarm_clock.elf | Bin 10804 -> 10792 bytes Debug/AtTiny_alarm_clock.hex | 4 ++-- Debug/AtTiny_alarm_clock.lss | 33 +++++++++++++++------------------ Debug/AtTiny_alarm_clock.map | 4 ++-- Debug/AtTiny_alarm_clock.srec | 4 ++-- Debug/main.o | Bin 3436 -> 3412 bytes main.c | 3 ++- 7 files changed, 23 insertions(+), 25 deletions(-) diff --git a/Debug/AtTiny_alarm_clock.elf b/Debug/AtTiny_alarm_clock.elf index 21514f3901dcf54e6e260f85a44630a8d7c9fd75..58d1c61878fd49fa8e52226c54b46dc49cfe7ee4 100644 GIT binary patch delta 143 zcmV;A0C4}bRH#&tAOWbcA)x^git32F!{0#QVCHb(fZ%`M|FhEp*a-?$0RRBr00009 zUbD3exe5WflW!KS4+H=K0|5yF009XM00032vo{yf5djyI2`M81ER!uMCj}rF003N* xAu1D-Y$*@{e3N}CCj|%|003B%kth?ByeSX@_9m0gDJB76ll3Vl0l zTe){~F&>$mFSb^iiGh)sg_Dbck%5VYk&T&w6DYvR!oa}D$go*k{GuSE(&WDy%8VA1 q6*bivbtZcP$&Sf|KvHD#OigtrCiTgOG}Rb$Ccgv + 152: c3 df rcall .-122 ; 0xda lcd_write(here, "t", 0); - 150: 40 e0 ldi r20, 0x00 ; 0 - 152: 60 e6 ldi r22, 0x60 ; 96 - 154: 70 e0 ldi r23, 0x00 ; 0 - 156: 80 e0 ldi r24, 0x00 ; 0 - 158: 81 df rcall .-254 ; 0x5c - /* Replace with your application code */ - while (1) - { - PORTB = 0xAA; - 15a: 8a ea ldi r24, 0xAA ; 170 - 15c: 88 bb out 0x18, r24 ; 24 - 15e: fe cf rjmp .-4 ; 0x15c + 154: 40 e0 ldi r20, 0x00 ; 0 + 156: 60 e6 ldi r22, 0x60 ; 96 + 158: 70 e0 ldi r23, 0x00 ; 0 + 15a: 80 e0 ldi r24, 0x00 ; 0 + 15c: 7f df rcall .-258 ; 0x5c + 15e: ff cf rjmp .-2 ; 0x15e 00000160 <_exit>: 160: f8 94 cli diff --git a/Debug/AtTiny_alarm_clock.map b/Debug/AtTiny_alarm_clock.map index e1b305d..8ef467d 100644 --- a/Debug/AtTiny_alarm_clock.map +++ b/Debug/AtTiny_alarm_clock.map @@ -422,12 +422,12 @@ END GROUP .debug_abbrev 0x00000519 0x72 lcd_wait.o .debug_abbrev 0x0000058b 0xa6 main.o -.debug_line 0x00000000 0x522 +.debug_line 0x00000000 0x517 *(.debug_line .debug_line.* .debug_line_end) .debug_line 0x00000000 0x10c C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATtiny_DFP/1.3.172/gcc/dev/attiny2313a/avr25/tiny-stack/crtattiny2313a.o .debug_line 0x0000010c 0x291 lcd4.o .debug_line 0x0000039d 0xbd lcd_wait.o - .debug_line 0x0000045a 0xc8 main.o + .debug_line 0x0000045a 0xbd main.o .debug_frame 0x00000000 0xf4 *(.debug_frame) diff --git a/Debug/AtTiny_alarm_clock.srec b/Debug/AtTiny_alarm_clock.srec index 68f0544..8797bdf 100644 --- a/Debug/AtTiny_alarm_clock.srec +++ b/Debug/AtTiny_alarm_clock.srec @@ -19,8 +19,8 @@ S1130100E7DF87B3807F87BB8CE0E2DF86E0E0DF58 S113011082E0DEDF9CDF0895CF93DF931F92CDB79B S1130120DD2784E4898389819FEF980F998388234D S113013041F08981898189819FEF980F9983811189 -S1130140F8CF0F90DF91CF9108958FEF87BBC5DF74 -S113015040E060E670E080E081DF8AEA88BBFECFA1 +S1130140F8CF0F90DF91CF9108958FEF87BB8AEAA4 +S113015088BBC3DF40E060E670E080E07FDFFFCF74 S1070160F894FFCF3D S1050164740021 S9030000FC diff --git a/Debug/main.o b/Debug/main.o index 76b9588ea1032aebec67834eabeeb0ce70fd7a52..7012eae61b60dad0bfbbe840fd41acced2729610 100644 GIT binary patch delta 262 zcmaDObwz4|0^^>Eijo3duR3-!TyS`h@Sxy9!vls38@(MQ>#wU|ixyu=SCeP*e zXDpcfmRp-~?_@zP;mJBY0<0ZCogR}Nd6XG%OitxdXKbC^3nX_;-U=iyOuoyb&iVzY Z;sjW|46gv=oyoeq>a0F&3=B~qF#tq|JLdoZ delta 282 zcmca2^+sxf0^^m5ijo2h7aSfWJSce3@POe$*Q<`*8@()PTGH#i? zm&>2=!(?9Wa>j_st=#^MHIuJ$Ycrmh%*dn6ItA#Akja`n%8ZXE`|_x>P5?U5aB?A+ q@Z=sI0id_$@~AVun0%B+or#BY@;e?iAV-u}oizezan$68EW!Z)bUa!B diff --git a/main.c b/main.c index f3296f2..e90e5df 100644 --- a/main.c +++ b/main.c @@ -12,12 +12,13 @@ int main(void) { DDRB = 0xff; + PORTB = 0xAA; lcd_init(); lcd_write(here, "t", 0); /* Replace with your application code */ while (1) { - PORTB = 0xAA; + } }