開始使用:
開啟藍牙並和IOS裝置進行配對。
打開APP,按"Connect" 配對IOT
應用程式以簡單的字串命令形式將數據發送到 IOT。
上箭頭 - 發送 "up"
下箭頭 - 發送 "down"
左箭頭 - 發送 "left"
右箭頭 - 發送 "right"
每個按鈕在釋放時發送 "stop"
滑動條 1 發送滑動條值(0-180),前面加上字母 "c",例如:c0、c100、c180
滑動條 2 發送滑動條值(0-180),前面加上字母 "x",例如:x0、x100、x180
當 IOT 接收到命令時,您可以使用簡單的 IF 語句對其進行任意處理,因此很容易根據您的機器人設計來調整程式碼。
如有使用問題,可聯絡cp@dcfwms.edu.hk
IOT
1. Turn on Bluetooth and pair it with your iOS device.
On your iPhone or iPad
Open the app and press "Connect" to pair with IOT.
UMART Content Transmission
The application sends data to the IOT in the form of simple string commands.
- Up Arrow: Sends "up"
- Down Arrow: Sends "down"
- Left Arrow: Sends "left"
- Right Arrow: Sends "right"
- Each button sends "stop" when released.
- Slider 1: Sends the slider value (0-180) prefixed with the letter "c", e.g., `c0`, `c100`, `c180`.
- Slider 2: Sends the slider value (0-180) prefixed with the letter "x", e.g., `x0`, `x100`, `x180`.
When the IOT receives a command, you can handle it using simple IF statements, making it easy to adjust the code according to your robot's design.
For any usage issues, please contact [cp@dcfwms.edu.hk](mailto:cp@dcfwms.edu.hk).