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

Status
Not open for further replies.

mrmicrochip79

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 !
 

Hi

This book will help you

**broken link removed**
 
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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…