![]() |
error with adc.h
all of a sudden when i compile now i get this error:
C:\mcc18\h\adc.h:160:Error: syntax error witch goes to this line in the code: -> union ADCResult { int lr; // 2 bytes as a long char br[2]; // 2 bytes as 2 chars }; what should be done to correct this error? |
Re: error with adc.h
This seems correct...
You probably left something out earlier in the code. Most likely the line of code that is immediately before it... but it depends on the error. |
Re: error with adc.h
Quote:
I am guessing that it must be main.c, user_routines.c, or user_routines_fast.c. because:
Good luck! |
| All times are GMT -5. The time now is 00:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi