Hi,
Anyone out there can help me solve this problem ? i have been trying to get my pic 16F84 to control an external 33.6k serial modem.
The modem work fine with hyperterminal. But it doesn't work with PIC.

PortB.1 is connected to pin10 of MAX232 ( TTL in ) and MAX232 pin7 ( 232 out ) is connected to pin 3 of modem DB9.
Pin 4 & 6 of DB9 is shorted ( DTR & DSR ).
Pin7 & 8 of DB9 also shorted ( RTS & CTS )

CODE SAMPLE :

TRISB=%00000000 'PortB.0 & PortB.1 = output
Dialing VAR PORTB.0 'Set PortB.0 as Dialing indicator
Tx VAR PORTB.1 'Set PortB.1 as Transmit signal to modem
PORTB=%00000000

Pause 1000
MAIN :

High Dialing
SerOut Tx,t300,[65,84,72,49] ' Off Hook ATH1
Low Dialing
End


What is the catch ????