tu postavlja pull up na PORTB.5,
Code: Select all
+00000070: LDI R24,0x20 Load immediate
+00000071: OUT 0x18,R24 Out to I/O location
+00000072: ......... nastavlja s inicijalizacijom
Code: Select all
+0000065E: SBIC 0x16,5 Skip if bit in I/O register cleared
+0000065F: RJMP PC+0x0020 Relative jump - ide na podesavanje
+00000660: ......... ovdje preskace ako nije tipka pritisnuta
EDIT: @Noćni