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 support@ccsinfo.com

Problem for pic16f877a with siemen tc35 gsm modem using ccs

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



Joined: 11 Dec 2012
Posts: 3

View user's profile Send private message Send e-mail

Problem for pic16f877a with siemen tc35 gsm modem using ccs
PostPosted: Tue Dec 11, 2012 1:25 am     Reply with quote

I can't really understand ccs code to write and anyone can help me share some knowledge. Now my problem is I don't know use which code to send AT command to my GSM modem. Sad
can i know what is the use for printf(), kbhit(), putc()??
TMLtech



Joined: 20 Jul 2011
Posts: 21
Location: Finland

View user's profile Send private message

PostPosted: Tue Dec 11, 2012 5:26 am     Reply with quote

Try that link:

www.ccsinfo.com/downloads/ccs_c_manual.pdf
temtronic



Joined: 01 Jul 2010
Posts: 9161
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Dec 11, 2012 6:31 am     Reply with quote

...also pressing F11 while in your project will open up the CCS C 'help' screens! TONS of information, easily accessed that should answer 80% of your questions. The rest can be found in the examples CCS kindly supplies located in the EXAMPLES folder.Download the PDF datasheet for the PIC you're using,renaming it to the type of PIC,say PIC18F46k22.pdf instead of the xxxxx.pdf that Microchip uses.

Start with the simple '1Hz blinking LED' program, then to the 'Hello World' program.
Build upon what you create and observe.
Keep backups!
Learn to use the search engine of this forum.
The more 'hands on' code you do, the better programmer you will become.
Break down the project into small chunks or 'sub-programs'.
Comment almost every line of code! Comments are free(no code space used) and you'll appreciate them a week from now when you wonder WHY did I do that? ,or what does THIS do?
Try to use one PIC version.Currently I use the PIC18F46K22 in the 40DIP.Has lots of codespace, 2 UARTS,27 analog pins!,timers,etc.Yes, overkill for the 'simple' stuff.By using the same PIC all the time, you can quickly build upon code KNOWN to work from previous projects.Also you can make a 'common' PCB,again known to work.

I understand that English is not everyone's first language,so the 'learning curve' can be long and hard,but once you learn the basics, it is easy to create more powerful programs.

hth
jay
ferdi



Joined: 11 Dec 2012
Posts: 3

View user's profile Send private message Send e-mail

PostPosted: Sat Jan 19, 2013 5:17 am     Reply with quote

may i know #use rs232 ( stream) is what mean?? Is it send the AT command into that stream that I assign??
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Sat Jan 19, 2013 8:06 am     Reply with quote

STREAM is only required when using more than ONE RS232 channel.
if only a single port is in use - no stream handle required.
necati



Joined: 12 Sep 2003
Posts: 37
Location: istanbul

View user's profile Send private message

SMS GSM TC35i
PostPosted: Sat Jan 19, 2013 8:34 am     Reply with quote

http://www.aquihayapuntes.com/indice-practicas-pic-en-c/control-de-mensajes-sms-a-traves-de-un-pic.html?start=1
ferdi



Joined: 11 Dec 2012
Posts: 3

View user's profile Send private message Send e-mail

PostPosted: Sun Jan 20, 2013 1:37 am     Reply with quote

Noted.....thanks a lot^^
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