No change when USART disabled.
I'm pretty sure that it's a connection. I tried the code straight up except for debug mode at 1 and received 7 lines of temperature in Hyper Terminal, then it stopped.
Going back to double check everything.
~ Dave
No change when USART disabled.
I'm pretty sure that it's a connection. I tried the code straight up except for debug mode at 1 and received 7 lines of temperature in Hyper Terminal, then it stopped.
Going back to double check everything.
~ Dave
Darrel most likely hit the nail on the head. Sounds like some odd hardware problem, or a
bad connection.
Troubleshoot things one-at-a-time, and just setup a simple loop shooting serial data to
your PC serial port until you get the serial com thing working.
If it goes-like-splat, then you know there's a bad connection - or maybe even a problem
with your PC serial port.
Note: It might even be a problem with the PIC itself if the A/D is foo-bar. The ADCIN library
function is a blocking type with;
adcinloop
btfsc ADCON0, GO_DONE ; Wait for conversion to complete
goto adcinloop
If ADCON0, GO_DONE never gets cleared, it's a sit & spin function call...;o}
Just make a short loop sending out some text strings over and over, while you wiggle wires and such.
Cause he misspeller foo bar, wich is an ackronym which I misspelled, FUBAR is the proper spelling you guess what the first 2 letters spell, the BAR means Beyond All Repair. It's like it's cousin SNAFU, Situation Normal All . . . .
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.
Code:X VAR BYTE Main: FOR X = "A" TO "Z" DEBUG X,10,13 PAUSE 500 NEXT X GOTO Main END
Joe, Bruce,
Thanks!
Still nothing. I'm going to make up some new cables with fresh contacts and I might even try a different computer.
For the loop program; should I use config bits?
~ Dave
Use the same config settings you used before.
Bookmarks