I am trying to build a robot through a college experiment. We are using two Pic16F628A microcontrollers. The problem that we are having is that the first pic is using a serial function to communicate through an infrared led. This led sends the modulated signal to a ir reciever. In turn, this circuit sends the signal to another Pic. This is where our problem is... this pic isn't sending the serial message to the LCD like we want it to. Does anyone have any suggestions on the commands that we could use in attempt to get this working?
This is the current program that we have and are trying to use to get this working...
TRISB=%00010000
Include "modedefs.bas"
B0 var byte
PAUSE 500
LCDLoop:
Serin2 PORTB.4, T2400, [B0]
lcdout $FE, 1
LCDOUT $FE, 2
LCDOUT B0
GOTO LCDLoop
END
Please.. if anyone can help please do so
Bookmarks