A little help please! with a 16x2 LCD

Hi all....

I'm trying to drive a 'bog standard' 16x2 LCD display with a nano - but I've swapped the pins around for my convenience and configured them with

LiquidCrystal lcd(2,4,5,6,7,8);

The display doesn't work. If I rewire the pins as per the examples and use

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

it works fine.

Poking around with a scope I find that RS on ( my) pin D2 isn't being toggled - all the rest are.

I can toggle the pin 'by hand' with digitalWrite, so it's not a hardware problem.

Any bright ideas?



I have mine using 7-12 on a Nano.
Still might be a hardware prob if pin 2 is fried. It may give readings but fail under load.

Don't think so - I can toggle it with digitalWrite and the signal looks fine.



Solved - stupid wiring error…! Grr



Reminds me of the nano that I have with subpar soldering job.