It is currently 23 Apr 2019 21:24

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 12 Dec 2018 21:30 
Offline

Joined: 29 Dec 2014 18:59
Posts: 155
Hello.
As example, ADC Demo example can be compiled with ADC1_Init(); and with ADC1_Init;
In first case program works, but with ADC1_Init; program doesn't works.

ADC1_Init; do not recognized as Undeclared identifier so compilation is done without any error.
I have long source file and did mistake and write down ADC1_Init without brackets.
Have rack one's brains two days!


Last edited by dibor on 13 Dec 2018 13:45, edited 1 time in total.

Top
 Profile  
 
PostPosted: 13 Dec 2018 09:57 
Offline
mikroElektronika team
User avatar

Joined: 25 Jan 2008 09:56
Posts: 10205
Hi,

I'm not quite sure I understand this, could you clarify your statement ?

Regards,
Filip.


Top
 Profile  
 
PostPosted: 13 Dec 2018 12:24 
Offline

Joined: 29 Dec 2014 18:59
Posts: 155
Hello Filip.
ADC1_Init variable/function is not recognized as Undeclared identifier.
This variable/function is not declared/exist, but compiler do not get any error!
Try to compile ADC_Demo from examples but put ADC1_Init; instead ADC1_Init(); and try to run it.

Regards.


Top
 Profile  
 
PostPosted: 15 Jan 2019 22:37 
Offline

Joined: 28 Mar 2009 11:03
Posts: 329
hahha, I got the same Problem for many years and need much time to find the problem as newbe...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to: