Continue to Site

Programming the AT90S8535

Status
Not open for further replies.

Smalluser

Newbie level 1
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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top