Pages: [1]   Go Down
Author Topic: Interfacing DOGM128 LCD with arduino mega  (Read 1358 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 49
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have just wired up an EA DOGL128 LCD to my arduino mega. I am trying to use the dogm128 library that is compatible with the arduino environment. The only problem is that the library is mainly for the UNO ans the duemilanove. I was wondering if anyone has any experience with the library and if possible help me port it over to the arduino mega.

I have changed a few lines in Dogm/utility/dogm128.h
-Uncommented #define DOGM128_HW
-#define PIN_SCK   52
-#define PIN_MISO  50  //Aparently not used
-#define PIN_MOSI  51
-#define PIN_SS    53
-#define PIN_A0_DEFAULT     22

But I still have nothing on the display after I upload. I'm using a max3002 to convert voltages from 5v to 3.3V.


References

LCD: http://www.lcd-module.com/eng/pdf/grafik/dogl128-6e.pdf
Connections: http://code.google.com/p/dogm128/wiki/dogm128_arduino_hardware
Installation: http://code.google.com/p/dogm128/wiki/install
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 49
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Everything works fine I retyped these lines in this post mine were backwards in the header file:

-#define PIN_MISO  50  //Aparently not used
-#define PIN_MOSI  51
Logged

Germany
Offline Offline
Edison Member
*
Karma: 136
Posts: 1479
If you believe something is right, you won't see what's wrong (David Straker).
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Header file seems ok.
Did you solve your problem?

Oliver
Logged

Pages: [1]   Go Up
Jump to: