pin 5 is connected to 16 - I fixed that problem just after taking that photo, (basically I sent the earlier photo by mistake).
rw is connected to 5 because it didn't work when I held it to ground,
and another example in the exhibition posts had used it this way.
(2) According to LiquidCrystal lcd(12, 10, 11, 7, 6, 5, 4); RW is connected to Arduino 10 and LCD D6 is connected to Arduino 5.
I have misunderstood something here: LCD 6 should be connected to arduino pin D11 (aka atmega328 chip pin 17).
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16