PaulS:
Can you tell me in which reply you posted ALL of your code?
Can you tell me in which reply you mentioned using an LCD (not including the last one)?
reply #17 the code
and i mentioned using a LCD even in the first post
Ok, i solved it by changing the pin from 20 or 21 (arduino mega) to pin 3
Seems like those 2 pins are not working when i use the LCD, i don't know why..
Pins 20 and 21 are the i2c bus pins on the Mega and are used by the lcd.
You mentioned the word "lcd" in the first post, but only in code 17 posts later showed it was an i2c lcd.
We do not have crystal balls, and you have created much of your own problem with your snippet postings.
cattledog:
Pins 20 and 21 are the i2c bus pins on the Mega and are used by the lcd.
You mentioned the word "lcd" in the first post, but only in code 17 posts later showed it was an i2c lcd.
We do not have crystal balls, and you have created much of your own problem with your snippet postings.
I thought there was 2 sets of scl sda on arduino mega but seems like they are the same.
:d :d :d