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

Setting a Port Pin to 0 on Power ON

I would like to set a port pin for example P1.7 to zero "0" on "Power On" condition. I would like to do it in init.a51 or startup.a51. Please let me know how to do it?

I am using keil UV2.37. Compiler 7.05



regards
Ganesh

Parents
  • Wouldn't a relay count as "dead slow" in this context?
    I have run relays on when pin high using the following
    1) a supervisor that reset for the required time and no more
    2) Pn.n = 0 as the first instruction after the jump at 0.

    Of course, this excludes things like wide tolerance supervisors and RC resets.

    Erik

Reply
  • Wouldn't a relay count as "dead slow" in this context?
    I have run relays on when pin high using the following
    1) a supervisor that reset for the required time and no more
    2) Pn.n = 0 as the first instruction after the jump at 0.

    Of course, this excludes things like wide tolerance supervisors and RC resets.

    Erik

Children
No data