Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Thanks.. Tom...
Oh, I checked your reply so late....I've just edited it. Thanks
To help you understand why this was the error so you can fix future issues, and to help others who end up here, this is why:
It's the stray semicolon. That marks the end of a statement, so as the compiler sees it,
LiquidCrystal_I2C lcd;
So it assumes that you mean to call the constructor with no arguments, like:
LiquidCrystal_I2C lcd();
Then it reports the error that it does because LiquidCrystal_I2C class only has constructors that take arguments (the I2C address and number of columns and rows, as you intended to) so it reports that it could not find a matching function definition.
Asides:
always post complete errors - parts you didnt realize were important may be a smoking gun for us.
Remember that if you need help, you dont understand the error, and are not qualified to assess which part is important (if you could, you would probably not need to ask us how to fix it). So, provide the full error!
DrAzzy:
To help you understand why this was the error so you can fix future issues, and to help others who end up here, this is why:
It's the stray semicolon. That marks the end of a statement, so as the compiler sees it,
LiquidCrystal_I2C lcd;
So it assumes that you mean to call the constructor with no arguments, like:
LiquidCrystal_I2C lcd();
Then it reports the error that it does because LiquidCrystal_I2C class only has constructors that take arguments (the I2C address and number of columns and rows, in this case) so it reports that it could not find a matching function definition.
Thanks for your help. :> I edit code as your reply LiquidCrystal_I2C lcd(16,2);[code] , but it doesn't work still. ;(