#include "glcd.h"   
#include "delay.h"

void main() 
{
    int count=0;

    GLCD_Init(); 
    GLCD_DisplayString("  Displaying Numbers");

    while(1)
    {
        GLCD_GoToLine(2);
        GLCD_Printf("hex:%4x \n\ndec:%5d \n\nbin:%16b",count,count,count); 
        DELAY_ms(100);
        count++;            
    }
}