Hi everyone, I'm trying to interface the GSM to PIC16F628A. The GSM module runs on 3.3v I use PBP and this is the code
Include "modedefs.bas" ' Include serial modes
DEFINE OSC 4 'for 4 Mhz
'DEFINE OSC 8 'for 8 Mhz
DEFINE HSER_TXSTA 20h 'hardware assign
DEFINE HSER_RCSTA 90h '
DEFINE HSER_BAUD 9600 'for 9600 Baud rate
DEFINE HSER_SPBRG 12 '
DEFINE HSER_CLROERR 1 '
' Send signal tp PWON
HSEROUT ["AT",13] 'Send AT to modem followed by a CR
HSERIN 5000, start, [WAIT("OK")] ' wait 5sec to reply.
The program simply return 'OK',how can I set it up so that I can see what the GSM is sending? Can I use PortC.6 to display the message va hyperterm?