Page 1 of 1

Switch Simulation vrs Target

Posted: Wed Jun 06, 2012 5:04 pm
by Collimare
I am slowly getting all my amateur issues resolved. Thanks for all the help and patience Ben and Dave!

My target has pull ups on the switch inputs so it needs an active low function. If I set the switch active low, the function wait until low, it works correctly in the target but the simulation is backwards forcing me to set the switch to active high, function wait until high, to run the simulation and then back to lows to program target. What am I missing here?

Thank you very much!

Re: Switch Simulation vrs Target

Posted: Thu Jun 07, 2012 11:04 am
by dazz
Hi i was caught out like that but have a read of these links and it should help
http://www.matrixmultimedia.com/mmforum ... igh#p17597

use this link whilst reading the above link( steves reply is the one you need to digest http://www.winpicprog.co.uk/pic_tutorial_extras.htm

hth

Also what are you trying to do in your flowchart im assuming you want the LED to flash 5 times when the button is pressed is thas right ? , if so let me know and i can pop up an alternative flowchart hth