Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
00001 #include "mbed.h" 00002 #include "BM1383GLV.h" 00003 00004 BM1383GLV sensor(I2C_SDA, I2C_SCL); 00005 Serial pc(USBTX, USBRX); 00006 00007 int main() { 00008 pc.printf("\nBM1383GLV Pressure sensor library test program.\n"); 00009 00010 while(1) { 00011 pc.printf("pressure=%7.2f, temperature=%5.3f\n", sensor.getPressure(), sensor.getTemperature()); 00012 wait(0.5); 00013 00014 } 00015 }
Generated on Thu Jul 14 2022 11:38:58 by
1.7.2