Re: TOGGLE will not go LOW
Ok I did some testing and I found:
1. High & Low worked without Tris or Ports set or analog settings set to digital
2. Setting port to 1 and zero worked with Tris & Ports set without analog settings set to digital
3. Toggle would not work without setting the analog stuff to digital, but when properly set it did.
it otherwise would go high and stay high.
Test chip 16F690 on Microchip demo board
Interesting, Since Both posters are using portA in their examples I think some analog register is blocking it working.
Which is what Mackrackit alluded to in post #3, I found it interesting it did not affect #2 in my test.
HTH
JS
Last edited by Archangel; - 9th August 2014 at 07:40.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks