RESET Problem
For some reason this has happened for the first time. The programs in one of my program folders just had issues with the RESET···· Main command. it says "Redefinition of symbol 'RESET'" and "The symbol <Main> is not defined."
Does anyone have an idea why it is doing this??? this just happened to half of my programs in one of my folders but every where else it works fine.![shakehead.gif](http://forums.parallax.com/images/smilies/shakehead.gif)
Post Edited By Moderator (Bean (Hitt Consulting)) : 11/20/2008 1:37:34 PM GMT
![shocked.gif](http://forums.parallax.com/images/smilies/shocked.gif)
![shakehead.gif](http://forums.parallax.com/images/smilies/shakehead.gif)
Post Edited By Moderator (Bean (Hitt Consulting)) : 11/20/2008 1:37:34 PM GMT
Comments
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
Calebjo
Making a pin an input and connecting a pin to ground are not the same thing. When a pin is an output, you can set it high or low. When high, it sources the power supply voltage, when low it is connected to ground. If you turn a pin into an input, it goes into Hi-Z mode which means it is floating and not connected to anything.
Thanks,
PeterM
Thank you for clarifying that for me. How would you instruct the SX to set that output pin to high or low? What would the progam code be for that?
Thanks for your consideration,
Calebjo
Here is a sample program that sets various pins of Port A as outputs and lets you set them high or low.
Thanks,
PeterM
Thanks for the sample program and clearing the high and low up for me! Now i can actually connect things to ground instead of turning them to Hi-z state. Thanks again!
Calebjo