Hey, I am trying to connect a uLCD-24PT in serial mode to my Arduino MEGA2560 using jumper cables (I dont have a shield), you can see my wiring in the picture. I have compiled and uploaded the "hello world" sketch, yet when I connect my uLCD and reset the arduino, I still get this screen. Any ideas what I might be doing wrong? Here is the sketch I'm using btw:
Code:
/* #define DisplaySerial Serial // define display serial port0 #include "Picaso_Serial_4DLib.h" // include 4D Systems library for Arduino Picaso_Serial_4DLib Display(&DisplaySerial); // declare this serial port void setup(void) { pinMode(2, OUTPUT); // Set pin 2 on the Arduino Shield to control the Reset on the display digitalWrite(2, HIGH); delay(100); // Reset the Display digitalWrite(2, LOW); delay(3000); // Allow time for the display to initialize before communicating DisplaySerial.begin(9600) ; // initialize serial port and set Baud Rate to 9,600 Display.gfx_Cls() ; // clear display // // Below this comment is the first string to be serially sent to the display. // Display.putstr("Hello World\n\n") ; // send "Hello World" string to display // // Below this comment is the second string to be serially sent to the display. Note the double spacing // to provide clarity in the presentation. // Display.putstr("Serial Display test\n\n\n") ; //send second string to display // // Below this comment is the third string to be serially sent to the display. Again for clarity // in presentation, tripple spacing has been placed and used. Furthermore, this text // string introduces to the user some font and text-formatting capabilities available. There are seven(7) // statements before the Display.putstr statement which instructs the Arduino to do this. You can // edit the text string to show the display model you have. Autodetecting the display model is // not covered by this application note. // Display.txt_Attributes(BOLD + INVERSE + ITALIC + UNDERLINED) ; // change and set new text format Display.txt_Xgap(3) ; Display.txt_Ygap(3) ; Display.txt_BGcolour(RED) ; Display.txt_FGcolour(WHITE) ; Display.txt_FontID(FONT3) ; Display.txt_MoveCursor(5, 0) ; // use this cursor position Display.putstr("uLCD-43PT SPE + Arduino\n") ; //send third string to display } void loop(void) { // do nothing here }

Comment