From your other thread...
If you are using SERIN2, then you need to use mode numbers as specified in the manual, or this webpage http://www.melabs.com/resources/ser2modes.htm.i was using Hyperterminal and wanted to obtain echo from the PIC16F877A. The crystal im using is 20Mhz. BUt there was no echo at all can anyone pls help me
DEFINE OSC 20
DEFINE Ser2_BBITS 8
TRISC = %10111111
PinIn VAR PORTC.7
PinOut VAR PORTC.6
B1 VAR Byte
SerIn2 PinIn, T2400,[B1]
SerOut2 PinOut, T2400, [B1]
END.
can anyone pls help me. Im a beginner...
Constants like T2400 can only be used with SERIN (without the 2).




Bookmarks