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?
"func" is the problem. "Missing ; before <token>" is one of those compiler error messages that you wish actually says what it means. Normally, I see this error when there is an undefined type for a return value of a function. ForgotToInclude f() - Missing ; before f.
"'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" !!