Project -> new -> [give it a name] / [pick AVR assembler].
File -> new text file -> [give it the name 'main.asm']
START: LDI r16,high(ramend) ;ramend=$025F p7-9 OUT sph,r16 LDI r16,low(ramend) OUT spl,r16
LDI r18,0b10000000 OUT ddrb,r18
LDI r18,0b10000000; set register to pin 7 high LDI r19,0b00000000; set register to all pins low
MAINLOOP: out portb,r18 out portb,r19 jmp MAINLOOP
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16