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: mbed YKNCT_Movement SBDBT BNO055 YKNCT_MD YKNCT_I2C
Diff: main.h
- Revision:
- 15:02c68793a266
- Parent:
- 0:9e851dc42cde
--- a/main.h Thu Mar 26 06:59:05 2020 +0000 +++ b/main.h Thu Mar 26 17:13:54 2020 +0000 @@ -62,6 +62,9 @@ #define Select (DS3.LEFTkey+DS3.RIGHTkey==2) #define Start (DS3.UPkey+DS3.DOWNkey==2) +/* ゾーンによって座標の符号を反転させる */ +#define ZONE(__val__) (zone==0?(__val__):-(__val__)) + /* 関数プロトタイプ宣言 -------------------------------------------------------*/ /* 変数定義 ------------------------------------------------------------------*/ /* クラス定義 ----------------------------------------------------------------*/ \ No newline at end of file