you realise there are two 18pin skts on the board for different chip pinouts, you need to use the proper one
you realise there are two 18pin skts on the board for different chip pinouts, you need to use the proper one
Warning I'm not a teacher
I do realize there are two sockets - i am using socket B, and I can flash an LED so I think it is set up correctly
the code I posted sets up everything necessary to use the lcd. only porta has analogue attributes and plays no part in this exercisei set my pins to digital using cmcon=7 , but I think that only sets Port A to digital. By default, is port B digital? Do I need a command to do that?
cmcon=7 will disable the comparator module and set porta pins to digital mode on that chip
but can you set each and every portb pin needed for lcd to flash a led and do they flash at the set rate,I do realise there are two sockets - i am using socket B, and I can flash an LED so I think it is set up correctly
the problem is not the lcd code
Warning I'm not a teacher
just a thought , you're not trying to use the built in cog serial lcd are you ?
![]()
Warning I'm not a teacher
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
Warning I'm not a teacher
Bookmarks