This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I assign an input pin?

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.

Parents
  • 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?

Reply
  • 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?

Children