![](/media/cache/group/icon1_qbDJ87a.png.50x50_q85.png)
LPS25Hの気圧データを取得するプログラムです
Revision 0:3004c25ebb90, committed 2017-01-20
- Comitter:
- PQUTO
- Date:
- Fri Jan 20 20:47:17 2017 +0000
- Commit message:
- LPS25H????????????????
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LPS25H.lib Fri Jan 20 20:47:17 2017 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/PQ_Hybrid_Electrical_Equipment_Team/code/LPS25H/#028338208ba1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jan 20 20:47:17 2017 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "LPS25H.h" + +Serial pc(USBTX, USBRX); +MyLPS25H mypress(PB_7, PB_6); +int main() { + pc.baud(115200); + mypress.SetPress(); + while(1) { + pc.printf("%f\r\n", mypress.GetPress());; + } +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Jan 20 20:47:17 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/faff56e089b2 \ No newline at end of file