CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

usart rx - getc()

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
fkl



Joined: 20 Nov 2010
Posts: 44

View user's profile Send private message

usart rx - getc()
PostPosted: Sat Nov 17, 2012 4:52 am     Reply with quote

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: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Nov 17, 2012 5:51 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Nov 17, 2012 12:49 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Nov 17, 2012 3:59 pm     Reply with quote

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:
Quote:
GSM commands

or this:
Quote:
modem commands

Make sure that you set it to "Search for All Terms"
fkl



Joined: 20 Nov 2010
Posts: 44

View user's profile Send private message

PostPosted: Sun Nov 18, 2012 9:57 am     Reply with quote

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: 9241
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Nov 18, 2012 10:06 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group