[EDIT] port d input isr

This commit is contained in:
Sem van der Hoeven
2021-03-24 10:35:34 +01:00
parent a8e6900132
commit 956f42b129
3 changed files with 8 additions and 10 deletions

View File

@@ -13,11 +13,11 @@ Idx Name Size VMA LMA File off Algn
CONTENTS, READONLY
4 .debug_aranges 000000b8 00000000 00000000 00000a40 2**0
CONTENTS, READONLY, DEBUGGING
5 .debug_info 00000fc1 00000000 00000000 00000af8 2**0
5 .debug_info 00000fc0 00000000 00000000 00000af8 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_abbrev 00000a99 00000000 00000000 00001ab9 2**0
6 .debug_abbrev 00000a99 00000000 00000000 00001ab8 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_line 00000716 00000000 00000000 00002552 2**0
7 .debug_line 00000716 00000000 00000000 00002551 2**0
CONTENTS, READONLY, DEBUGGING
8 .debug_frame 000001b4 00000000 00000000 00002c68 2**2
CONTENTS, READONLY, DEBUGGING
@@ -588,7 +588,6 @@ int main(void)
33e: 00 00 nop
/* Replace with your application code */
while (1)
{
ultrasonic_send_pulse();
@@ -604,9 +603,9 @@ int main(void)
34e: 34 df rcall .-408 ; 0x1b8 <lcd_write_int>
wait_ms(1000);
350: 88 ee ldi r24, 0xE8 ; 232
352: 93 e0 ldi r25, 0x03 ; 3
wait_ms(100);
350: 84 e6 ldi r24, 0x64 ; 100
352: 90 e0 ldi r25, 0x00 ; 0
354: 96 df rcall .-212 ; 0x282 <wait_ms>
356: f5 cf rjmp .-22 ; 0x342 <main+0x30>

View File

@@ -52,7 +52,7 @@ S113031018958FEF8093640011BAEAE6F0E08081CB
S11303208360808389B7816089BF1FBC8CE08EBDE8
S1130330789417DF8FE493EC0197F1F700C0000085
S113034005DFAEDF03DF809100019091010134DF0E
S113035088EE93E096DFF5CF0F931F93CF93DF934F
S113035084E690E096DFF5CF0F931F93CF93DF935E
S1130360CDB7DEB72E970FB6F894DEBF0FBECDBF64
S11303700D891E898F89988D26E02C831A83098321
S113038097FF02C080E090E801979E838D83AE01C1

View File

@@ -107,7 +107,6 @@ int main(void)
lcd_clear();
/* Replace with your application code */
while (1)
{
ultrasonic_send_pulse();
@@ -117,7 +116,7 @@ int main(void)
lcd_write_int(timer_dist);
wait_ms(1000);
wait_ms(100);
}
}