Hi Phil,
I knew that my device was using the EPSON drivers because when using the default library, I was getting some display but it was garbled and corrupted.
If you are getting nothing at all, it is most likely 1 of 3 problems. the way i went about fixing it was simply
1) try the standard library and only try to print hello world
#include 'mbed.h'
#include 'MobileLCD.h'
MobileLCD lcd(p5,p6,p7,p8,p9)
int main()
{
lcd.printf("Hello World!");
}
2) check the pin assignment to make sure they are correct
3) check the power to the screen logic is 3.3v, can take from mbed
4) check if you get anything at all. if so, then you know it is an epson controller and you can try the other libraries until you get a good result (http://mbed.org/projects/cookbook/svn/MobileLCD/tests/MobileLCD) worked for me
5) if not, it is either a connection problem of you have a phillips controller
if u have a phillips controller, you can get it to display by cropping some of the code from here (Interface tutorial) to at least get it to display. just cut the LCDInt philips function from here into the MobileLCD library and replace the reset function, ignore all the spi comments and change the WriteSpiData to data() and WriteSpiCommand to command(); crude solution but mite get you started
The code i posted was because the unmodified library produced a line across the bottom of my display which the code fixed.
Hope this helps. Id recommend checking the connections because if there is even slight voltage noise on startup, there will be no output.
p.s. Thanks to Simon for all his work on this.
Adam
Dear all,
I noticed the cookbook section on Mobile LCD details a breakout board from Sparkfun. I think the one pointed to by the web link is the wrong type, so this needs to be corrected.
The actual one shown in the pictures in the arcticle on mobile LCDs referes to the Sparkfun breakout board, LCD 08683 - Nokia Olimex LCD, which is based on the Nokia 6610 LCD module.
The one pointed to via the web link is the Sparkfun LCD 08600 which is based on the Nokia 6100 LCD module.
I have purchased the later and it does not seem to work with the provided library, which is no suprise as the library was written for a different LCD. The characters appear broken although the LCD commands seem to be the same. I'm not sure how different the displays.
As I now have the later of the two, is it possible to have a library for this LCD type (Nokia 6100), or the source code for the old library which i can modify to accomodate the new display?