8bit paralell graphical lcd (UC1608)

Hello. I have a 2-part problem:

First; The datasheet doesn't seem to mention lcd bias voltage(s) or segment voltage
DEM 240064D FGH-PW

This i hadn't noticed until I was half-way through hooking it up.

The second part is misunderstood initialization:

// Arduino Mega 2560

#include "U8glib.h"

const int grot = 0; // i think?

const int gd7 = 53;
const int gd6 = 51;
const int gd5 = 49;
const int gd4 = 47;

const int gd3 = 43;
const int gd2 = 41;
const int gd1 = 39;
const int gd0 = 37;

const int genable = 27;
const int gcs = 31;
const int gdc = 29;
const int greset = 33;


U8G2_UC1608_DEM240064_F_6800(grot, gd0, gd1, gd2, gd3, gd4, gd5, gd6, gd7, genable, gcs, gdc, greset)

error: expected constructor, destructor, or type conversion before '(' token
U8G2_UC1608_DEM240064_F_6800(rotation, gd0, gd1, gd2, gd3, gd4, gd5, gd6, gd7, genable, gcs, gdc, greset);
^
exit status 1
expected constructor, destructor, or type conversion before '(' token

Any help would be appreciated.

Look at the constructor syntax for the U8g2 example sketches.

I would expect:

U8G2_UC1608_DEM240064_F_6800 u8g2(rotation, gd0, gd1, gd2, gd3, gd4, gd5, gd6, gd7, genable, gcs, gdc, greset);

I would use the official typedef name for rotation. Bit 0 will probably be ok for regular 0 degree rotation.

David.