Re: 18LF4680 HSERIN and SEROUT hang my PIC!
Hi temp19,
2 things come to mind . . .
#1 I would set sspcon1.5 = 0 to disable spi and make an I/O. It may default to this on POR but I did not see it in the data sheet.
#2. Now I might be the only one who EVER had this trouble, but when making statements like :
if c = "d" and a = "+" then sound portb.4, [119,7]
it never works FOR ME without some brackets, like so
IF (c = "d") AND (a = "+") THEN sound portb.4, [119,7]
as I said it MAY work for everyone else, but not for me.
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