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

options in " #use rs232 " pre-processor directive

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



Joined: 17 Jul 2012
Posts: 53

View user's profile Send private message

options in " #use rs232 " pre-processor directive
PostPosted: Fri Jul 27, 2012 6:30 pm     Reply with quote

I've read options in " #use rs232 " pre-processor directive, it mentions two follow options: UART1 and UART2 for the chips first and second hartware uart. This means some chips have more than one uart hardware.
I'm using PIC16F887, it seems that this chip has only one uart hardware, is it right ?
Thanks!
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Fri Jul 27, 2012 6:32 pm     Reply with quote

Is it really that difficult to look through the datasheet for that chip ?
Or is it as you commented before that you are lazy?

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
small_chick



Joined: 17 Jul 2012
Posts: 53

View user's profile Send private message

PostPosted: Fri Jul 27, 2012 7:39 pm     Reply with quote

gpsmikey, you are fun! Very Happy
I've read datasheet, but it doesn't mention "uart hardware"! It just mentions EUSART asynchronous mode and EUSART synchronous mode ! This means two uart hardware???
Ttelmah



Joined: 11 Mar 2010
Posts: 19515

View user's profile Send private message

PostPosted: Sat Jul 28, 2012 2:47 am     Reply with quote

Look at the table, right at the front of the data sheet. Top of page 2. It lists each peripheral, and how many of each are present.
It is there for a reason.....

Best Wishes
small_chick



Joined: 17 Jul 2012
Posts: 53

View user's profile Send private message

PostPosted: Sat Jul 28, 2012 6:09 am     Reply with quote

thank you very much,Ttelmah! Very Happy
small_chick



Joined: 17 Jul 2012
Posts: 53

View user's profile Send private message

PostPosted: Sat Jul 28, 2012 6:12 am     Reply with quote

everybody, I'd like to ask you one more problem. I need to calculate arcsin value of a variable, would you mind recommending me some ways ? Thanks ! Very Happy
jeremiah



Joined: 20 Jul 2010
Posts: 1349

View user's profile Send private message

PostPosted: Sat Jul 28, 2012 6:45 am     Reply with quote

There's a listing for it in the compiler manual. Check under the asin() function.
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