![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Dissolved oxygen code
main.cpp
- Committer:
- e58136782000
- Date:
- 2017-11-03
- Revision:
- 0:9522c4dc43b8
File content as of revision 0:9522c4dc43b8:
#include "mbed.h" #include "BME280.hpp" //------------------------------------ // Hyperterminal configuration // 9600 bauds, 8-bit data, no parity //------------------------------------ Serial serial(USBTX, USBRX); BME280 BME280; int main() { int data; while(1) { serial.printf("test 1\n"); BME280.receive(); serial.printf("test 2\n"); data= BME280.datareadfuiction(0); serial.printf("first data : %d\n",data); } }