Titech Cansat / Mbed 2 deprecated pressuesensor

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "bme280.h"
00003 //おっぱい
00004 int main()
00005 {
00006     BME280 bme280;
00007     Serial pc(USBTX,USBRX);
00008 
00009     while(1)
00010     {
00011         
00012         pc.printf("%04.2f\n",bme280.getPressure());
00013         wait(0.1);
00014     }
00015 }