Displays HELLO using Character Display function

Dependencies:   C12832 mbed

main.cpp

Committer:
dwijaybane
Date:
2015-10-10
Revision:
1:033c7aaa6898
Parent:
0:c023272f2367

File content as of revision 1:033c7aaa6898:

#include "mbed.h"     // Basic Library required for onchip peripherals
#include "C12832.h"   // Library for SPI based LCD
 
/* Create Objects */ 
C12832 lcd(p5, p7, p6, p8, p11);    // Initialize lcd object with SPI pins

/* Main Program */
int main()
{
    lcd.cls();          // Clear LCD Screen
    
    lcd._putc('H');     // Display single character
    lcd._putc('E');
    lcd._putc('L');
    lcd._putc('L');
    lcd._putc('O');
    
    while(1);
}