I am currently trying to get a 128x64 display going (KS0108 chipset).
I am using an example that I found on http://www.scienceprog.com/controlling-graphical-128x64-lcd-based-on-ks0108/
It uses Fabian Maximilian Thiele library to work http://www.scienceprog.com/wp-content/uploads/2007/07/glcd_ks0108.zip
The first problem that I am having with it is that I get the following error when I try to compile the code:
../ks0108Test.c:24: error: 'for' loop initial declaration used outside C99 mode
From what I have managed to read so far it is due to variables being declared within the for loops:
for(volatile uint16_t i=0; i<15000; i++);
I tried to fix the code by pulling the declaration outside the for loops but this runs me into a 2nd problem, the compiler not being able to locate my .elf file. A manual look at the folder confirms that the .elf file does not exist.
I realize that the 2 problems are most likely unrelated BUT I would still love a bit of advice to point me in the right direction.