OK, so on the tutorial here it says that the LCD Enable pin should connect to digital pin 11, my question is if I can connect it to a pin that doesn't have PWM, for example pin 7. That's it.
You can connect the lcd to different pins from those in the tutorial, and they don’t need to be pwm pins. Pin 7 should be fine.
Remember that if you change the pin wiring you will have to change the code to match
// initialize the library with the numbers of the interface pins //change the numbers to match your wiring LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
Oh ok, thanks.
The numbers have to be in a specific order so here is how I comment it:
//LiquidCrystal lcd(RS, E, D4, D5, D6, D7); LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // put your pin numbers here