cancel
Showing results for 
Search instead for 
Did you mean: 

error: #18: expected a ")" ?

antonius
Senior

Dear Members,

I got this error: #18: expected a ")"  on this line :

LCD_SendCommand(lcd_addr, 0b00110000);

")" is already there, what's the issue ??

Thanks

5 REPLIES 5

Check if lcd_addr is correctly defined. But most likely there is an error in one of the previous lines (or included files) which causes an error to that correct line. Check for unterminated by ";" lines, unterminated quotation marks or parenthesis.

Binary is not accepted by most compilers.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
antonius
Senior

so better be in hex ?

antonius
Senior

LCD_SendCommand(lcd_addr, 0x30h); ?

Lose the h, you're programming in C​

0x30​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..