Hi, I wonder if somebody could advise me please.
I have a couple of little LCD projects up and running and on the whole, I’m very pleased with them. I have noticed though, that the pin configurations in the sketches are different.
Below are two examples of different sketches where the LCD is declared:
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
They both work, but how? How does the Arduino know which pin is connected to where? Can you use any pins you want as long as you declare them? Do they have to be declared in a certain order for it to work?
Thanks for any advice.
Kind regards Paul