Header Ads

Three-D Text Example Using PIC16F88 - FlowCode - Graphical LCD Simulation

Graphical LCD-3D Text Example-Flow Code with PIC16F88

Here we are using Flow Code Simulation Software for Programming and testing the Graphical LCD with PIC16F88 by printing text for display.You will see in video Ingenuity Dias being displayed on LCD.


Flow code program:

Here is the complete list of projects:
Tutorials for Flow Code Programming and Simulation
Here is the Snippet of the Main Program:
void main()
{
//Initialization
ansel = 0;
cmcon = 0x07;

//Interrupt initialization code

option_reg = 0xC0;

//Startup LCD

//Call Component Macro: Init()
FCD_gLCD0_Init();

//Draw Yellow Box

//Call Component Macro: DrawBox(2, 2, 127, 127, 0, 1)
FCD_gLCD0_DrawBox(2, 2, 127, 127, 0, 1);

//Set Foreground to Black

//Call Component Macro: SetForeColor(0, 0, 0)
FCD_gLCD0_SetForeColor(0, 0, 0);

//Draw Box Outline

//Call Component Macro: DrawBox(2, 2, 127, 127, 1, 0)
FCD_gLCD0_DrawBox(2, 2, 127, 127, 1, 0);

//Print Ingenuity shad

//Call Component Macro: Print("Ingenuity", 10, 20, 2, 1)
FCD_gLCD0_Print("Ingenuity", 9, 10, 20, 2, 1);

//Print Dias shad

//Call Component Macro: Print("Dias", 25, 50, 2, 1)
FCD_gLCD0_Print("Dias", 4, 25, 50, 2, 1);

//Pring Gfx Shad

//Call Component Macro: Print("Gfx LCD", 22, 80, 2, 1)
FCD_gLCD0_Print("Gfx LCD", 7, 22, 80, 2, 1);

//Set foreground to Black

//Call Component Macro: SetForeColor(3, 1, 2)
FCD_gLCD0_SetForeColor(3, 1, 2);

//Print Ingenuity

//Call Component Macro: Print("Ingenuity", 11, 21, 2, 1)
FCD_gLCD0_Print("Ingenuity", 9, 11, 21, 2, 1);

//Print Dias

//Call Component Macro: Print("Dias", 26, 51, 2, 1)
FCD_gLCD0_Print("Dias", 4, 26, 51, 2, 1);

//Print Gfx

//Call Component Macro: Print("Gfx LCD", 23, 81, 2, 1)
FCD_gLCD0_Print("Gfx LCD", 7, 23, 81, 2, 1);

mainendloop: goto mainendloop;

}

void MX_INTERRUPT_MACRO(void)

{
}

Flow code Simulation and how to do Video Tutorial:



You can Download Flow Code Program File :
C Code
ASM Code
Hex Code
Flow Code Program

No comments