Hi all,
The machine cycle is too slow for me. Is there anyway to input a signal from signal generator into MCU, so I can use it to trigger?
The pin assigns like: sbit dataIN = P1^3; How can I assign an input pin?
Thanks.
Your question doesn't make much sense - please clarify.
www.catb.org/.../smart-questions.html
"The machine cycle is too slow for me"
So you have 2 choices:
1. Speed it up; 2. Choose a chip which does have a suitable speed.
It's impossible to advise further as we have no idea why you say it's "too slow".
"Is there anyway to input a signal from signal generator into MCU"
How would the fact that it comes from a signal generator make any difference to anything?
"so I can use it to trigger?"
To trigger what?
"The pin assigns like: sbit dataIN = P1^3; How can I assign an input pin?"
You just said - that does assign the pin! So what do you want to do that the above does not achieve?
How can I assign an input pin?
bible time
www.danlhenry.com/.../80C51_FAM_ARCH_1.pdf www.danlhenry.com/.../80C51_FAM_HARDWARE_1.pdf www.danlhenry.com/.../80C51_FAM_PROG_GUIDE_1.pdf
View all questions in Keil forum