So... I've been trying to add the RGB LCD Shield to one of my existing AVR project. So it is written in C and I can't use the shield library provided on GitHub.
Any suggestions how I should approach this to get them working?
I have spent some time trying to convert the shield library into C functions... However, I'm having issues with writing data to LCD...When I write data or command to the LCD (ie. blink or show some text), LCD does nothing but set LCD colour to yellow... Not sure why this would happen.....
Let me know if anyone wants to see the C code... (You probably don't since it's super long)
RGB LCD Shield Library for AVR Porject / C code?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- MattH23
- Posts: 1
- Joined: Fri Jul 08, 2016 4:41 am
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RGB LCD Shield Library for AVR Porject / C code?
It sounds like a problem in the code that sends signals to the MCP23017. It's possible that you've swapped a couple of pins and the signals aren't going where they should.
Step back and verify that the code handling communication with the MCP23017 sets each pin high and low as you expect it to.
Step back and verify that the code handling communication with the MCP23017 sets each pin high and low as you expect it to.
Please be positive and constructive with your questions and comments.