We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
So, I am new to Keil. I am porting a project in and building to find errors.
I get multiple error 18's insisting a ")" is expected on a simple line that is perfectly legitimate c syntax. Such as this function:
uint8_t si_rd_user() { uint8_t value; twi_write(SI_ADDR, SI_READ_USER_REGISTER); value = twi_read(SI_ADDR); return(value); }
The twi_write line is errored, but it certainly does not need any further parens Oddly, the line is not x'd as an error.
What is going on here. Can anyone help with this?
Thanks Robin@TL
Check you don't have errant brackets or semi-colons in your MACRO definitions.