We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to have some leds in P2.0~2.3 and show off the "ON" lamp in VB6.0 program though RS232 during the sensors are +5V output to P1.0~1.3 89S52 MCU. But it appears many errors and doesn't work in PC. Please advise me the comments for the following code. Thanks a lot!!
Do you actually understand what it's doing?
If you do, then put in comments to show your understanding.
If not, then clearly that is your basic problem!
Why don't you just start with "Hello World", get to understand it, and work from there?
PS
Your layout is still messy; don't use TABs - they don't work on (most) internet forums - use only spaces for indenting.
Note that any decent editor (including uVision) can be set to insert spaces when you press the TAB button:
Edit > Configuration > Editor > Insert spaces for tabs
I know it's messy for you!! But now I m very urgent to know how to do it!! In fact, if i can't do it, I ll be worst!! I
"I'm very urgent to know how to do it!!"
There are no shortcuts! If you want to know how to do it, then you need to spend time learning the principles involved!
IF this is a homework assignment, then it is assumed that a capable student should be able to do it. If you really can't do it, then you need to speak to your tutors about either getting some additional tuition, or switching to another course...
But you're not listening to the answers!
I always know no shortcut!!
OK! Dont waste my time!!
Oh, yeah: all those pesky details of learning & understanding what you're doing - what a time-waster!
Good luck with your exams...
You too~~~
Hey!! you are not me!!
That pleases me.