try using with the configuration bits as watchdog timer off and brown out detect off, power up timer on and oscillator as XT
try using with the configuration bits as watchdog timer off and brown out detect off, power up timer on and oscillator as XT
Ok thanks I will try that. I am still working on it. I wound one coil by keeping track of counts in memory and I already have problems, I missed about 30 turns out of 900 lol! My backpack LCD (Seetron) was purchased back in 1999 and I found it works but the 16C54 it uses is bad (sends out garbage on the 3rd character placement and further) so I will have to get back on the LCDout unit using 16F628.
I will try this tomorrow and get back to you. Thanks very much for the input it is very much appreciated.
Hey LetTheSmokeOut,
I'm still pretty newbie to this stuff, but I had 2 issues that drove me nuts for a while that you never kbnow, could be one of your problems. One was that, for some reason, no matter how many times I read the PBP manual for the LCDOUT command, my mind never saw the "Flags = 0" part. Some one here pointed that out to me and that fixed one issue. The other issue was that I was getting garbage displayed sometimes and I could not display a number ending in "0" or "P". It turns out that the voltage rating fro the LCD was a minimum of 4.7 V and with the resistor I was using, it was about 4.62 or so. I changed that resistor to get the voltage up in range and that solve my bizarre problems.
Gary
Thanks guys. It's working now. Looks like the fuse settings as Abidr mentioned was one problem and the flags=0 like G-hoot mentioned was another. Thanks for all your help!
Now I have to figure out interrupts so I can use a Hall effect to send RB0 high on my coil winder so I can increment W0 based on a pulse from the hall and output the word to LCD = )
Bookmarks