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 with PIC18F87J50

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



Joined: 26 Oct 2010
Posts: 3
Location: Madrid

View user's profile Send private message

Problem with PIC18F87J50
PostPosted: Tue Oct 26, 2010 5:35 am     Reply with quote

Hi, this is my first message and I don´t know use well this forum, I´m making some personal projects. I choose the pic18f87j50 because is very completed, 2xSPI, 2xUART, USB...

I bougth a board for practice in mikroelectronika and I run a program for switch on some leds and it run ok, but when I run a program for use the uart with RS-232, it no compilate, most of register that I configure manually en my program do not exists in "18f87j50.h", Can you help me? Can you give me the "18f87j50.h" complete?
And, if you have any program that run OK and you want give me, it would be the best.

Thanks,
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Oct 26, 2010 6:28 am     Reply with quote

Are you using the #use rs232 and printf() or putc() functions of the compiler? You should not have to use any UART registers for basic usage.
_________________
The search for better is endless. Instead simply find very good and get the job done.
estenolotien



Joined: 26 Oct 2010
Posts: 3
Location: Madrid

View user's profile Send private message

PostPosted: Tue Oct 26, 2010 7:30 am     Reply with quote

No, that is my problem, is the first time that I use CCS (recommended for my friend) and I don´t know the main commands. There is any tutorial? or any document with the main functions?

Thanks,
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Oct 26, 2010 4:45 pm     Reply with quote

Quote:

There is any tutorial?

Here is a little CCS tutorial:
http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/
Do a Google search for the following search string, and you will find lots
of links to tutorials for CCS. Or the web pages that you get will have the links:
Quote:

CCS compiler tutorial "#use delay" -ccsinfo.com


Quote:
or any document with the main functions?

Here is the compiler manual:
http://www.ccsinfo.com/downloads/ccs_c_manual.pdf
estenolotien



Joined: 26 Oct 2010
Posts: 3
Location: Madrid

View user's profile Send private message

PostPosted: Wed Oct 27, 2010 1:32 am     Reply with quote

Ufff, thanks very much, I've seen it a little and it's very complete. I will read all.

Thanks,
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