Smalluser
Newbie level 1

Who can help me in programming the port A in output mode?
Input mode works perfect.
In output mode the PORTA dataregister and DDRA register are correctly set but the pin itself stays at 0 Volts. Here is my programming sequence
;PORT A AS OUTPUT
LDI R16,255
OUT DDRA,R16
;PORT A OUTPUT
LDI R16,15
OUT PORTA,R16
Thanks
Input mode works perfect.
In output mode the PORTA dataregister and DDRA register are correctly set but the pin itself stays at 0 Volts. Here is my programming sequence
;PORT A AS OUTPUT
LDI R16,255
OUT DDRA,R16
;PORT A OUTPUT
LDI R16,15
OUT PORTA,R16
Thanks