swatch.getAccel() 戻り値: x, y, z
SmartWatchの加速度センサのX,Y,Z方向の成分を取得します。
戻り値
- x: X方向の加速度成分
- y: Y方向の加速度成分
- z: Z方向の加速度成分
(注意) swatchコマンドを使うには、別アプリのBitmapキャッチャが必要です。
Bitmapキャッチャのダウンロードはこちらから
→ https://play.google.com/store/apps/details?id=com.luaridaworks.smartwatch.bitmapcatcher
使用例は、swatch.putflush()を参照してください。