It code don't work
it's wrong...
---------------------------------------------------------------
DEFINE OSC 4
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
DEFINE HSER_SPBRG 25 ' 9600 Baud @ 4MHz, 0.16%
DEFINE HSER_CLROERR 1 ' Clear overflow automatically
TRISC = %01000000 'set portc.6 TX
CALL_PHONE : pause 2000
HSEROUT ["atd[000000000];",13] '00000000 = number
pause 2000
goto CALL_PHONE
end
----------------------------------
thank for help




Bookmarks