The project im working on for some reason unknown to me fails to work if my output pin is connected at power up of the device. if i power it up and then connect the output it works perfectly.
Is there a way to set a output pin neutral, rather then high or low? the only workaround at this time is to press and hold a button (NC) at powerup then release it to opperate correctly, this is to say the least a pain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it was the output itself.. i added a delay to the start of the chip and it gave the device i was adding this to time to start up problem solved.. thanx though :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The project im working on for some reason unknown to me fails to work if my output pin is connected at power up of the device. if i power it up and then connect the output it works perfectly.
Is there a way to set a output pin neutral, rather then high or low? the only workaround at this time is to press and hold a button (NC) at powerup then release it to opperate correctly, this is to say the least a pain.
Can you configure the pin as an input for some amount of time? That makes it high impendance. You may also need to check for the weak pullups.
it was the output itself.. i added a delay to the start of the chip and it gave the device i was adding this to time to start up problem solved.. thanx though :D
If the delay on start up becomes a problem, you could try a (N.O.) button and invert your logic.
Also you could experiment with capcitor sizes (like 0.1uf and up) on the pin side of the button to ground, giving you a small RC delay.
You don't say which pin the button is on, hopefully not the MCLR, which in your case should be changed to another pin.