chage a lib name

Dependencies:   C12832_lcd mbed

Fork of app-board-LCD by Chris Styles

main.cpp

Committer:
khayakawa
Date:
2013-09-30
Revision:
3:37aea06abce5
Parent:
2:a87e255a8f3a

File content as of revision 3:37aea06abce5:

#include "mbed.h"
#include "C12832_lcd.h"

C12832_LCD lcd;

int main()
{
    int j=0;
    float a;
    
    a= rand();
    lcd.cls();
    lcd.locate(0,3);
    lcd.printf("mbed application board!");

    while(true) {   // this is the third thread
        a= rand()/1000000;
        lcd.locate(0,15);
        lcd.printf("Counting : %d %.2f\n",j,a);
        j++;
        wait(1.0);
    }
}