Could be interesting to have your whole schematic.
Could be interesting to have your whole schematic.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
there is no pot on the board that i got. The lcd and keypad was preassembled by my instructor. trying to get a picture and or the schematic but dont have that at the momentThe pic he used was his daughters and it was the same as mine Pic18f452 and was demostrated that it work on the board that i have trouble with.
I would like to take the time and say thank you for helping. Its some of the most help i got so far with this.
so thank you
I have ran across LCD that does not need an adjusting pot, the contrast pin could be connected directly to 0 volt (ground) and would work. So it is possible your instructor was using one. But not very possible! I would say this happens maybe 1 out of 100 times. You need the adjusting POT.
Questions that I am still not clear on:
1- Are you using the exact same board and LCD as your instructor?
2- Is the board and LCD a copy of the one your instructor has?
3- Did you instructor compile his/her program on the same computer you are using? ( this is to test the LVP config)
4- What does you instructor say about the problem?
Please provide a drawing showing how the LCD is connected (draw it on paper and scan it if you have to)
Go here http://www.microengineeringlabs.com/support/index.htm and you and the instructor look at the manual under LCDOUT, it shows the correct way to wire a LCD using PORTA as a default. I am not saying to use PORTA, but look at how the contrast is set up.
Dave
Always wear safety glasses while programming.
Hi, Civic
I have an application with a 452 and LCD on port D ... works fine.
Now, what I see is external interrupts are all on PortB ...
So a special care to the corresponding registers has to be done.
I also use PBP 2.47, but had explicitly ( correct ? ) written all registers ....
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Here is what I see:
I see no config fuse settings in his code.
I see a circuit board set up to use an oscillator module, not a crystal or resonator, so it would seem necessary to set fuses for External oscillator. Keypad code looks VERY FAMILIAR, like something mr_e once tossed togetherso I am pretty sure it is tested and working. In conclusion, I believe you need to work on your config settings, which should contain statements about _CONFIG1 EC_OSC and WDT_OFF etc . . .
look at this data sheet.
http://ww1.microchip.com/downloads/e...doc/39564b.pdf
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