You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted from "Sebastian"
@hurra
gib doch mal bitte als test statt DDRB und PORTB die entspechende Hex adresse aus dem Datenblat ein also $xx anstatt DDRB usw.
Sebastian
![]() |
Source code |
1 2 3 4 5 6 7 8 9 |
.include "m8def.inc" ldi r16, 0xFF out DDRB, r16 ldi r16,0b11111100 out PORTB, r16 loop: rjmp loop |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
.include "m8def.inc" rjmp main main: ldi r16,$AA ldi r17,$AA ldi r18,$AA out DDRB, r16 out DDRC, r17 out DDRD, r18 loop: rjmp loop ; |
-