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.
Dependencies: UIT_LPS25H_I2C mbed
Revision 0:3b25091eab21, committed 2016-12-18
- Comitter:
- MikamiUitOpen
- Date:
- Sun Dec 18 08:30:17 2016 +0000
- Commit message:
- 1
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/UIT_LPS25H_I2C.lib Sun Dec 18 08:30:17 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/MikamiUitOpen/code/UIT_LPS25H_I2C/#888288e9f8d5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Dec 18 08:30:17 2016 +0000 @@ -0,0 +1,22 @@ +//-------------------------------------------------------------- +// 気圧センサ LPS25H 用クラス Lps25hI2c の使用例 +// +// 2016/12/18, Copyright (c) 2016 MIKAMI, Naoki +//-------------------------------------------------------------- + +#include "LPS25H_I2C.hpp" +using namespace Mikami; + +int main () +{ + Lps25hI2c pressure; + + while (true) + { + float x = pressure; + printf("%8.2f hPa\r\n", x); +// printf("%8.2f hPa\r\n", pressure.Read()); // OK + + wait(1); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Dec 18 08:30:17 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/faff56e089b2 \ No newline at end of file