Daisy Ramirez / Mbed 2 deprecated termometro

Dependencies:   mbed C12832 ADC

main.cpp

Committer:
daisychain
Date:
2021-11-20
Revision:
0:74beeec1ea9f

File content as of revision 0:74beeec1ea9f:

#include "mbed.h"
#include "C12832.h"
 
// Using Arduino pin notation
C12832 lcd(D11, D13, D12, D7, D10);
 
int main()
{
    int j=0;
    lcd.cls();
    lcd.locate(0,3);
    lcd.printf("mbed application shield!");
 
    while(true) {   // this is the third thread
        lcd.locate(0,15);
        lcd.printf("Counting : %d",j);
        j++;
        wait(1.0);
    }
}