Try these settings
Code:RCSTA = $90 ' Enable serial port & continuous receive TXSTA = $20 ' Enable transmit, BRGH = 0 SPBRG = 25 ' 9600 Baud @ 0.16% SPBRGH = 0 BAUDCON.3 = 1 ' Enable 16 bit baudrate generator
Try these settings
Code:RCSTA = $90 ' Enable serial port & continuous receive TXSTA = $20 ' Enable transmit, BRGH = 0 SPBRG = 25 ' 9600 Baud @ 0.16% SPBRGH = 0 BAUDCON.3 = 1 ' Enable 16 bit baudrate generator
Dave
Always wear safety glasses while programming.
Since your temperature will never be higher then 255 °C (I assume) then set your variable "temp" as a byte not word.
temp var byte
because serially you cannot Tx word but only byte.
Al.
All progress began with an idea
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.
Hi Joe, Yes he can. But he would not be able to recombine them back to a word, using hyperterminal.
Al.
All progress began with an idea
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