View previous topic :: View next topic |
Author |
Message |
fkl
Joined: 20 Nov 2010 Posts: 44
|
usart rx - getc() |
Posted: Sat Nov 17, 2012 4:52 am |
|
|
Hell.
Please tell me how to take data from USART?
Since the data is sent to the chip all clear, and how (can have an interrupt) to receive and process such as "OK" or "ERROR". |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sat Nov 17, 2012 5:51 am |
|
|
1) look at some of the examples that CCS supplies in the 'examples' folder...
2) search this forum as there are lots of messages on this topic...
3) google 'pic uart ccs c code' or simliar keywords...
...3 hints and I'm out. |
|
|
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
|
|
Posted: Sat Nov 17, 2012 12:49 pm |
|
|
To be more specific the CCS example EX_STR processes text strings, EX_SISR does RS232 with interrupts!
I suggest you read the forum guidelines.
Mike |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Nov 17, 2012 3:59 pm |
|
|
It appears that you're looking for help on modem AT commands, for use
with a PIC.
Go to google and search for this:
Quote: | site:ccsinfo.com/forum OK commands #int_rda modem OR GSM |
There are at least 400 hits on this.
Or use the CCS search page:
http://www.ccsinfo.com/forum/search.php
Search for this:
or this:
Make sure that you set it to "Search for All Terms" |
|
|
fkl
Joined: 20 Nov 2010 Posts: 44
|
|
Posted: Sun Nov 18, 2012 9:57 am |
|
|
PCM programmer wrote: | It appears that you're looking for help on modem AT commands, for use
with a PIC.
|
Yes you are right, and thank you all for your help.
With sending AT commands happened once, but the reception and analysis (parsing), it was not at first clear, here and decided to ask how to do it so as not to reinvent the wheel.
I am sorry that the question is a little angered some, but in my opinion is great forum and the fact that you can not only use it as an encyclopedia, and ask the people for help. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Nov 18, 2012 10:06 am |
|
|
No, you didn't anger anyone here. We're just trying to show you , that if you do the 'search ', you'll learn more ! This forum is FULL of great information and code but by you doing more you'll learn a LOT !!
Yes, it takes some time and practice but you'll be a better programmer than if someone just 'handed' you the code.
hth
jay |
|
|
|