TMP102 temperature sensor test using LPC824.

Dependencies:   test_TMP102 mbed

main.cpp

Committer:
yasubumi
Date:
2017-11-25
Revision:
2:40c813b1d6a3
Parent:
1:3241f6a5a51e
Child:
3:600dea808e48

File content as of revision 2:40c813b1d6a3:

#include "mbed.h"
#include "test_TMP102.h"

test_TMP102 tmp102(dp4,dp5);

int main()
{
    while(1) {
        printf("Temp: %f\n\r", tmp102.read());
        wait(1.0);
    }
}