samic45mit1
Member level 3
I am using 128X64 GLCD (KS0108) with ATMEGA32 Micro controller and I using lib given on link https://en.radzio.dxp.pl/ks0108/ for same. I successfully interface it with atmega32 but when I try to change font size 5X8 to 12X16 (TABLE FOR 12x16 IS ALREADY GIVEN IN HEADER) in below function by changing value of i loop to 12 and (12*charToWrite) but I not gatting any result.
So please tell what is wrong.
Code C - [expand] 1 2 3 4 5 6 7 8 9 void GLCD_WriteChar(char charToWrite) { int i charToWrite -= 32; for(i = 0; i < 5; i++) GLCD_WriteData(GLCD_ReadByteFromROMMemory((char *)((int)font5x8+(5 * charToWrite) + i))); GLCD_WriteData(0x00); }
So please tell what is wrong.
Last edited by a moderator: