Hi!
I solved it You have right, it is easier to adopt LCD library:
#define sendData(data) send(data, 1)
#define sendInstruction(data) send(data, 0)
#define initDisplay() sendInstruction(0x3C); sendInstruction(0x0E); clearDisplay(); sendInstruction(0x06); delayMicroseconds(2000); //for 16Mhz
#define clearDisplay() sendInstruction(0x01); delayMicroseconds(2000)
#define DATAPIN BIT6
#define CLOCKPIN BIT5
#define ENABLEPIN BIT4
void send(char data, char registerSelect);
void sendDataArray(char data[], char length);
char charIndex = 0;
char bitCounter = 0;
void sendDataArray(char data[]