View previous topic :: View next topic |
Author |
Message |
Rikims90ls
Joined: 21 Jun 2012 Posts: 2
|
Error 117 Improper use of a function identifier |
Posted: Thu Jun 21, 2012 4:54 pm |
|
|
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
|
|
Posted: Thu Jun 21, 2012 6:27 pm |
|
|
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
|
|
Posted: Fri Jun 22, 2012 1:35 am |
|
|
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
|
|
Posted: Fri Jun 22, 2012 6:31 am |
|
|
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. |
|
|
|