Skip to content

Commit

Permalink
Update README-JP.md
Browse files Browse the repository at this point in the history
update readme for AS2
  • Loading branch information
tuyenle92 authored Oct 31, 2019
1 parent ac27ec1 commit 159a304
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ List<AromaShooter> connectedDevices = usbController.getConnectedDevices();
// 例:以下のコードは、カートリッジ2と5を3秒間噴射します。
usbController.diffuseAll(3000, true, 2, 5);
```

* AS2(Aroma Shooter 2)デバイスのみのディフューザー香りメソッド
```java
Port port1 = new Port(1, 100);
Port port2 = new Port(2, 50);

usbController.diffuseAll(3000, 0, 100, [port1, port2]);
```

### 噴射を止める
噴射している場合は、接続されているデバイスのすべてのポートを停止します。
```java
Expand Down

0 comments on commit 159a304

Please sign in to comment.