This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem with FUNC

I always get an error 129 (missing ';' before 'void') when I compile in this part:
func void iicstart (void)
{
sda = 1;
scl = 1;
del4us ()
sda = 0;
del4us ()
scl = 0;
del4us ()
}

what is wrong?

Parents
  • "'Missing ; before <token>' is one of those compiler error messages that you wish actually says what it means."

    What it means is that the compiler expects nothing before <token>; therefore, if it finds something before <token>, it assumes that there should've been a ';' after the "something" !!

Reply
  • "'Missing ; before <token>' is one of those compiler error messages that you wish actually says what it means."

    What it means is that the compiler expects nothing before <token>; therefore, if it finds something before <token>, it assumes that there should've been a ';' after the "something" !!

Children
No data