Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

whats this error??

Status
Not open for further replies.

aidantmurphy

New Member
CCP1CON=0B00000100; //every falling edge of clock interrupts it
^
Error[Pe065]: C:\CFILES~1\CPROJECT\INTERR~3.C 6 : expected a ";"


I am using the PIC 16f877 and trying to cause interrupts
 
Are you missing ; anywhere?

Post more of your code, maybe the error is not on line 6 as your compiler suggests.
 
The error is probably on the line right before where it shows the error. Spaces and carrage returns are optional in C (you can put your whole program on one line if you felt like it) so sometimes the compiler is wrong about what line the error is actually on.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top