ok then its back to simple fault finding
1. can you verify portb pins 0 to 5 actually work
2. do pins b0 to b5 get to the lcd socket
3. are pins b0 to b5 shorted to something not intended
4. does the lcd have power,gnd and contrast connections that work
5. does the lcd even work




Bookmarks