Arduino Mega2560 R3 pinouts photo

kallen:
Newbie alert: So which are d0-d7 lines as you would use for say LiquidCrystal()?

Thanks, K..

They are the same as a UNO unless you have a real SPI interface on the LCD. The current Arduino IDE is default to 4-bit, but if you want to use 8-bit, you will have to specify it in the initialization parameters (LiquidCrystal lcd(rs, rw, enable, d0, d1, d2, d3, d4, d5, d6, d7)).

Check the out the LiquidCrystal tutorial for more detail:

Also, for a lot of LCD Shields, the 4-bit initialization is different than the tutorial/examples (i.e. LiquidCrystal lcd(8, 9, 4, 5, 6, 7):wink: