TP BTS SNEC avec le capteur de température

Dependencies:   C12832 LM75B mbed

Fork of app-shield-LM75B by Chris Styles

Committer:
rtk
Date:
Tue Oct 03 10:11:46 2017 +0000
Revision:
9:c85bf418d6bd
Parent:
8:e0f3f151c3cc
aaa

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 0:ce7a8546502b 1 #include "mbed.h"
chris 2:9e757151de9b 2 #include "LM75B.h"
chris 5:608f2bf4d3f7 3 #include "C12832.h"
okano 0:ce7a8546502b 4
chris 6:bb84f3ab523d 5 // Using Arduino pin notation
chris 6:bb84f3ab523d 6 C12832 lcd(D11, D13, D12, D7, D10);
chris 8:e0f3f151c3cc 7 LM75B sensor(D14,D15);
okano 0:ce7a8546502b 8
chris 2:9e757151de9b 9 int main ()
okano 0:ce7a8546502b 10 {
chris 6:bb84f3ab523d 11 while (1) {
rtk 9:c85bf418d6bd 12 // La méthode temp de LM75B renvoie la température
chris 6:bb84f3ab523d 13 wait(1.0);
chris 2:9e757151de9b 14 }
okano 0:ce7a8546502b 15 }