Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[51] Please help me to program 89S52 exercise !

Status
Not open for further replies.

mrmicrochip79

Newbie level 2
Newbie level 2
Joined
Jun 3, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
HI..Everybody..I'm a newbie..This is the first time I know this great forum..and also the first time I study about micro controller : 89S52 !

I have some exercises ..Please help me with an Assembler code:

1/ I want to use a switch..When i press a switch at P0.1 ---> P0.3 become "ON" ... a red LED display... and when i press switch at P0.2 ..the P0.3 become "OFF" ..the red LED .off.

2/ When I press switch at P0.1 after 15s ....P0.2 become "ON" ..the red led will ON....

Thank you very much !
 

Thank you very much about your book !

I read some book about 8051 family...But A newbie as me very difficult to indertand some problems !

Now..I can programer some simples program..Example : use set or clear to add P.0 to P0.7 ON or OFF all or each Led..but working with switch I never did it before !

Please help me the way to do it..Thank you very much !
 

You can take your time to read the book and do simple experiments with LED's, that is how newbie can grow
This is the good forum for you and me and please post your issues step by step
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top