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.
...........zzzzzzzzzzz
wow, thank you Sooo much for such useless information....
John
John
Get up off your butt and do a forum search for DEFINE OSC (a secret phrase known only to everyone that programs with MeLabs PICBASIC who happens to have read the product manual) that I mentioned back in post number #4 in this thread. Not got the manual? Then go onto the manufacturers website (this forum has got a dozen pointers to it) where you can locate the product manual and look up DEFINE OSC. You do remember who makes your compiler don't you? No? (there's a highlighted clue in this paragraph and Google comes free with every internet connection). In case you missed it - DEFINE OSC is the answer to your problem. Once you've got the manual, go look in the section I pointed you to (again back in Post #4). Don't say that you've had "useless information" when you were told the answer a few hours after posting your question.
Geeze, teach a guy to fish and he'll spend all day in a boat with a crate of beer.
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.
MEL,
Your right, you did explain in post #4 that using DEFINE OSC was needed to adjust all required timings. You then said "There's also a whole section entitled "How fast is fast enough?" (section 7.1 in my manual). "
To which I asked "where do I find your book ?"
How the hell should I know that you have some connection to Melabs.
Honestly, I don't really care who you are affiliated with, I was just trying to get this circuit working. As it turns out, the board is fully functional and has been since the first post, I had already figured out that it would work with a 4Mhz xtal.
I did try the define osc before my first post, I had deleted it from my code because it didn't work. That is what lead to Post #3, which I described how the xtal fuse settings vastly affected the timing, again looking for a constructive reply !
Thanks
"where do I find your book ?" = Melanie's manual
Melanie's manual = MicroEngineering Labs, Inc. PICBASIC PROtm Compilier manual
In my copy
Section 7.1 is on page 171, look down the page about 3/4 of the ways. Sentence begins "However..."
You should be able to find the answers to your questions there.
The PBP Manual is also known as: the Manual, the ugly green book, the bible, etc. around these parts.
If you had checked the PBP manual you would not have asked that question or needed to for that matter.That explains my problems with any xtal other than 4mhz. I will check into my PBP manual for info about DEFINE OSC, but will that allow the use of other osc frequencies ?
Last edited by manwolf; - 21st August 2008 at 01:50.
Hi,
Yes I had cheched the manual, just didn't know or cared who wrote it. I don't run and post a question here or anywhere unless I just can't figure something out. I will read anything I can get my hands on, online or otherwise, until I find the solution. Granted, I'm no expert, so this process can take some time, but usually I will succeed. I DID refer to the manual, don't need a forum to tell me to look there first. As I said, I had also ALREADY tried using DEFINE OSC 10Mhz, it did not work. The output baud timing was way off. I also wasn't sure about what config fuses to set with the U2 programmer regarding the xtal. The original crystal is a SMT type, 10 Mhz. I tried all different fuse settings, which of course affected the timing, but none gave the proper result at the pic output. So I installed a SMT 4Mhz xtal and, you guessed it-works great.
Bookmarks