11

Dependencies:   mbed C12832 MMA7660

main.cpp

Committer:
chris
Date:
2012-10-26
Revision:
2:a87e255a8f3a
Parent:
1:1c6a9eaf55b5
Child:
3:2db94ee076ee

File content as of revision 2:a87e255a8f3a:

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

C12832_LCD lcd;

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

    while(true) {   // this is the third thread
        lcd.locate(0,15);
        lcd.printf("Counting : %d",j);
        j++;
        wait(1.0);
    }
}