Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
;build 10.device atmega644.nolist.include "m644.inc".listldi r16, 0xFF ;set all pins to act as groundsts ddrA, r16sts ddrB, r16sts ddrC, r16sts ddrD, r16sts portA, r16sts portB, r16sts portC, r16sts portD, r16ldi r16, 0x00sts pinA, r16 ;set the pins too just in casests pinB, r16sts pinC, r16sts pinD, r16ldi r16, 0xFF ;set all pin D to outputsts portD, r16infloop:rjmp infloop