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

Error 117 Improper use of a function identifier

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



Joined: 21 Jun 2012
Posts: 2

View user's profile Send private message

Error 117 Improper use of a function identifier
PostPosted: Thu Jun 21, 2012 4:54 pm     Reply with quote

Hello this is my error line can you help me? thank you so much

setup_timer_1(T1_INTERNAL|T1_DIV_BY_1);

and the error is:_

*** Error 117 "Main.c" Line 92(1,2): Improper use of a function identifier
temtronic



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

View user's profile Send private message

PostPosted: Thu Jun 21, 2012 6:27 pm     Reply with quote

Please read the Sticky PIC101....

We can help but need to know PIC type, compiler version and more of your program.
The error can be from several sources....trying to use a function that the PIC doesn't have,an old or buggy compiler version,etc.
Also the error might be from some code several lines before the line you think the error is caused by( happens all the time.....)
Ttelmah



Joined: 11 Mar 2010
Posts: 19540

View user's profile Send private message

PostPosted: Fri Jun 22, 2012 1:35 am     Reply with quote

One 'classic', would be if you have created your own function, called perhaps T1_Internal (remember compiler defaults to case insignificant mode. Something a few lines before is the most likely thing though.

Best Wishes
jeremiah



Joined: 20 Jul 2010
Posts: 1354

View user's profile Send private message

PostPosted: Fri Jun 22, 2012 6:31 am     Reply with quote

Another possible issue depends on which compiler/chip you are using I assume. For example, in PCWHD on a PIC24, you would use setup_timer1() instead.
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