Skip to main content
antonius
Associate III
July 8, 2019
Question

error: #18: expected a ")" ?

  • July 8, 2019
  • 4 replies
  • 1711 views

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

This topic has been closed for replies.

4 replies

After Forever
Senior III
July 8, 2019

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.

Tesla DeLorean
Guru
July 8, 2019

Binary is not accepted by most compilers.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
antonius
antoniusAuthor
Associate III
July 8, 2019

so better be in hex ?

antonius
antoniusAuthor
Associate III
July 8, 2019

LCD_SendCommand(lcd_addr, 0x30h); ?

Tesla DeLorean
Guru
July 8, 2019

Lose the h, you're programming in C​

0x30​

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