projet capteur connecté ST/SE
Dependencies: HP206C mbed HMC5883L DHT DS1820
altitude.cpp@74:087a2b250497, 2018-10-01 (annotated)
- Committer:
- Edern
- Date:
- Mon Oct 01 10:31:11 2018 +0000
- Revision:
- 74:087a2b250497
- Parent:
- 15:591f765c620d
MAJ Edern
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Edern | 15:591f765c620d | 1 | #include "mbed.h" |
Edern | 74:087a2b250497 | 2 | #include "HP20x_dev.h" |
Edern | 15:591f765c620d | 3 | |
Edern | 74:087a2b250497 | 4 | long getAltitude () { |
Edern | 74:087a2b250497 | 5 | long pression = ReadPressure(); |
Edern | 74:087a2b250497 | 6 | |
Edern | 74:087a2b250497 | 7 | } |
Edern | 74:087a2b250497 | 8 | |
Edern | 74:087a2b250497 | 9 | long pression = ReadPressure(); |
Edern | 74:087a2b250497 | 10 | |
Edern | 74:087a2b250497 | 11 |