Jan 28, 2005 #1 S Smalluser Newbie level 1 Joined Jan 28, 2005 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 6 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
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