Mega 2560 with ST7920 LCD and u8glib problem

Hi

U8glib sends an init sequence to the display immediatly after reset. This init sequence might be corrupt or is not recognized by the display.

Some possible problems:

  1. Your arduino is too fast, the display is not yet ready to receive the init sequence:
  2. The reset of the display takes too long, the init sequence has been sent, but was not received.
  3. Wires are unstable (connect problems) or are too long.
  4. Timing of the data transfer is too fast for your display
  5. Mode selection (parallel vs. serial) has a problem (or is missing or floating...)

I would start with the hardware: Check wires and their connection. Did you correctly set the mode for your display?

You might also provide more information: What is the mode? Parallel, seriel? Can you provide a picture?

Oliver