without input

Dependencies:   TextLCD mbed

Committer:
sann5100
Date:
Thu Jun 09 10:22:01 2016 +0000
Revision:
0:e73d113674d8
LEDcounter

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sann5100 0:e73d113674d8 1 #include "mbed.h"
sann5100 0:e73d113674d8 2 #include "TextLCD.h"
sann5100 0:e73d113674d8 3
sann5100 0:e73d113674d8 4 TextLCD lcd(p15, p16, p17, p18, p19, p20, TextLCD::LCD16x2);
sann5100 0:e73d113674d8 5
sann5100 0:e73d113674d8 6 int main() {
sann5100 0:e73d113674d8 7 int i;
sann5100 0:e73d113674d8 8 DigitalIn cross(p5);
sann5100 0:e73d113674d8 9 for(i=0,cross,i++){
sann5100 0:e73d113674d8 10 lcd.printf("Cross: %d \n", i);
sann5100 0:e73d113674d8 11 ]
sann5100 0:e73d113674d8 12 }