Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ISR Compilation Errors for ISRs

Status
Not open for further replies.

ashokaathi

Newbie level 1
Joined
Mar 16, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,287
Tuesday 16/03/2010

Dear sir,
my coding is compile time one error occured. This coding is


Code:
ISR(TIMER0_COMP_vect) void t0_comp(void) 
{
      waitcount--;
if(waitcount < 0)
{
     waitcount = 9000;
}
}


error
../webserver.c:429: error: expected identifier or '(' before numeric constant


it"s same problem coding is

Code:
ISR(ADC_vect) void adc_done(void)
{
Ain = ADCH;
}

error

../webserver.c:356: error: expected identifier or '(' before numeric constant

"Subject" should contain short description of your post and not date correct it
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top