Hi quester,
After installing the pullups, I would put a short pause in the main and in the sub routine just before the goto main statements, to slow down what's happening enough to see it .
Hi quester,
After installing the pullups, I would put a short pause in the main and in the sub routine just before the goto main statements, to slow down what's happening enough to see it .
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.
Not a bad idea... but here, as long as the switch will remain at x level, LEDs will remain the same same level too. It's more like a Toggle switch monitor rather than a PushButton monitor... or toggle LEDs each time you press on a PushButtons.
Nothing critical in this one, no debouncing, nothing fancy.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I have now used 16f876 ( it works ok) instead of 16f84a I did try your sugestions but with no luck so I am going to rebuild with 16f84a again and try another pic.
Thanks for the help.
Quester.
NEW MESSAGE: I have now got it working! I rebuilt the circuit and it worked OK but one of the LEDs wasnt quite going off but I was working from the book PIC in Practice and the circuit did not show a wire to ground from Vss I fitted that and it is now OK.
Last edited by quester; - 29th March 2008 at 20:31. Reason: Make it clear. plus new message
Bookmarks