AtomSoft
Well-Known Member
Ok im having some trouble receiving from Hyper Terminal to my PIC18F1320.
Im using BoostC to program/
I can send data out with no problem... Here is my receive code:
and this is how im calling it
Now for some reason when i type a key in hyper terminal it wont work. But i have the same code in ASM and it works fine on same chip. Any thoughts?
Im using BoostC to program/
I can send data out with no problem... Here is my receive code:
Code:
void RxRecv(char &MyTmp)
{
while(!pir1.RCIF);
MyTmp = rcreg;
Rs_Send(rcreg);
}
Code:
while(1)
{
char Tmp2 = 0x00;
RxRecv(Tmp2);
}
Last edited: