ive been connecting that pin(rs#) to the ground using a push button. still nothing happend...no lights from the LEDs.
ive been connecting that pin(rs#) to the ground using a push button. still nothing happend...no lights from the LEDs.
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.
are you suggesting to try pullup instead of pull down? done that...didn't work..And it gets to high state by . . . a Pullup ? WPU ? Fear ? Which is to ask, can it get there ? Or is it locked to reset in perpetuity ?
If I understood you correctly, and I am not sure I did, your push button switches ground the ports. If that is true, then yes, a pull up resistor, either internal (wpu) or external would seem to be in order. If your push buttons make the ports go high, then a pull down resistor would be required.
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.
The VDIP2 might be different but on the VDIP1 the reset pin is left floating when not in use. Seems strange yes but....
Sounds like a bad conection or the magic smoke got out.
Dave
Always wear safety glasses while programming.
i tried what joe said and used a pull up resistor,. still nothing happend.. that made me hopeless about my module and began thinking that mackrackit was right..may be magic smoke did got out. so i ordered another vdip2 module and its on its way here..
for the mean time, i'm in the middle of programming the push buttons for browsing the files. how do i program the buttons to execute the command only after releasing the button from being pressed. the reason i want it that way is because if i execute the command(e.g. scrolling the lcd with the file names) while the button is being pressed,some files names would be skipped due to very quick execution.
If the button pin is pulled LOW in an idle state ,active HIGH. You could use WHILE/WEND.
Code:WHILE BUTTON = 1 DO SOMETHING WEND
Dave
Always wear safety glasses while programming.
Bookmarks