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.
Revision 9:424ce8140bd1, committed 2017-01-28
- Comitter:
- Gaku0606
- Date:
- Sat Jan 28 20:54:47 2017 +0000
- Parent:
- 8:96cb569b6349
- Child:
- 10:fad6675651c1
- Commit message:
- bbb;
Changed in this revision
| mpu9250_i2c.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/mpu9250_i2c.h Sat Jan 28 20:50:23 2017 +0000
+++ b/mpu9250_i2c.h Sat Jan 28 20:54:47 2017 +0000
@@ -6,7 +6,6 @@
* @note mpu9250を比較的簡単に利用できるようにしたライブラリ
* @note ローパスフィルタまわりの実装がまだです.外部でよろです!
* @author Gaku MATSUMOTO
-* @bref ライブラリです
*/
@@ -107,12 +106,12 @@
public:
- /**
- * @bref mpu9250インスタンスを生成する
- * @param _i2c メインプログラムで宣言したI2Cインスタンスのアドレス
- * @param celect AD0ピンがHIGHならAD0_HIGH,LOWならAD0_LOW
- * @note 第二引数なしだとAD0_HIGHになります.
- */
+/**
+* @bref mpu9250インスタンスを生成する
+* @param _i2c メインプログラムで宣言したI2Cインスタンスのアドレス
+* @param celect AD0ピンがHIGHならAD0_HIGH,LOWならAD0_LOW
+* @note 第二引数なしだとAD0_HIGHになります.
+*/
mpu9250(I2C &_i2c, AD0 celect = AD0_HIGH);
I2C *_nine;
@@ -122,16 +121,17 @@
char readReg(char addr, char reg);
void readReg(char addr, char start_reg, char* buff, char num);
- /**
+ /*!
@bref 慣性センサと通信ができているか確認する
@note trueが返ってきたら成功,falseなら...
*/
bool senserTest();
- /**
- * @bref 地磁気センサと通信ができているか確認する
- * @note trueが返ってきたら成功,falseなら...
- */
+/**
+* @fn bool mpu9250::mag_senserTest()
+* @bref 地磁気センサと通信ができているか確認する
+* @note trueが返ってきたら成功,falseなら...
+*/
bool mag_senserTest();
/**