Hi Andre, Try this, dunno if it will help, but worth a try,
Code:main: LCDOUT $FE,$80 LCDOUT "line 1 " LCDOUT $FE, $C0 LCDOUT "line 2" PAUSE 1000 goto main
Hi Andre, Try this, dunno if it will help, but worth a try,
Code:main: LCDOUT $FE,$80 LCDOUT "line 1 " LCDOUT $FE, $C0 LCDOUT "line 2" PAUSE 1000 goto main
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.
How do you have the OSC configed?
This might be a clue
http://www.picbasic.co.uk/forum/show...9&postcount=14
Dave
Always wear safety glasses while programming.
Dave, I don't think that your link will help because the code show that the OP use MicroChip bootloader.
One day I should Try it myself
Main Problem is
As far as I remember, Microchip Bootloader config fuses and code assume 48MHz BUT with a 20MHz crystal. So I would tryCode:DEFINE OSC 20
Code:DEFINE OSC 48
Last edited by mister_e; - 26th January 2009 at 23:13.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Well at least I got the OSC 48 part.
Never used a boot loader though.
Do you set the configs the same as with out one?
Dave
Always wear safety glasses while programming.
Most Bootloader I know, will ignore the config fuses in your code as they're already set in their firmware and don't have the ability to re-program them on the fly. HOWEVER, for many PIC18, you can do it later in your code. Darrel Already post something on that... BUT, using this, you will probably screw up most Bootloader... no free lunch
Bootloader are nice for firmware upgrade, but for development, they have their own limitations.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks for the info.
Dave
Always wear safety glasses while programming.
Thanks guys
Changing to define osc 48 fixed all the problems, LCD serial everything. Now for the question -- Why???
On all the other projects you set the define to the cristal freq. but now you set almost 1.5 times higher.
I am confusedcan someone PLEASE explain this to me
Bookmarks