Jump to content

Adc.h Include Error With 16f917


Recommended Posts

Hi,

 

Including adc.h with PIC 16F917, in MPLAB 7.30 and BoostC 6.30 give the error:

 

C:\Programmi\SourceBoost\include\adc.h(13): error: missing semicolon

C:\Programmi\SourceBoost\include\adc.h(13): error: failure

 

In adc.h is defined:

 

volatile bit adc_go @ ADCON0 . GO;

 

but in PIC1F917.h this is declared only as 'GO_DONE' or 'NOT_DONE' bit.

 

Regards

Roberto

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...