Récupérer la température DS mbed

Dependencies:   C12832 LM75B mbed

Fork of app-shield-LM75B by Chris Styles

main.cpp

Committer:
rtk
Date:
2015-11-02
Revision:
9:f1171717f973
Parent:
8:e0f3f151c3cc

File content as of revision 9:f1171717f973:

#include "mbed.h"
#include "LM75B.h"
#include "C12832.h"

// Using Arduino pin notation
C12832 lcd(D11, D13, D12, D7, D10);
// Instantation d'un objet de classe LM75B
/* à compléter -----------------------------------*/


int main ()
{
    while (1) {
        lcd.cls();
        lcd.locate(0,3);
        lcd.printf("La temperature est de = %.1f °C", /*__________________*/); // Récupérer la température
        wait(1.0);
    }
}