Something to try - see if you can get your pic to talk to hyperterminal (using your max232 setup as is). This might help you determine if the problem is closer to the PIC side or closer to the modem side.
Something to try - see if you can get your pic to talk to hyperterminal (using your max232 setup as is). This might help you determine if the problem is closer to the PIC side or closer to the modem side.
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Thanks guys. i got the code....
it should has carriage return ( 13 ) after the command.
SerOut Tx,t9600,[65,84,72,49] ' Off Hook ATH1'
SerOut Tx,t9600,[13]
now i am looking into more functions eg connect to other modem...
Thx a lot !
Cheeeeers
Hi,
Glad to hear you got it going!
A little tip: Put the carriage return on the same line as the 'command'
Should work the same and you'll save a couple of bytes for each instance. Also Serout....["ATH1",13] should work the same but makes the code easier to understand, to me atleast....YMMV.Code:SerOut Tx,t9600,[65,84,72,49,13] ' Off Hook ATH1, CR
Good luck with the project!
/Henrik Olsson.
That is just the beginning...
["ATH1",13] work fine ! Thanks for all your suggestion.
Bookmarks