速報APP / 工具 / DroidScript - PuckJS Plugin

DroidScript - PuckJS Plugin

價格:免費

更新日期:2017-08-16

檔案大小:2.9M

目前版本:1.01

版本需求:Android 3.0 以上版本

官方網站:http://droidscript.org

Email:support@droidscript.org

聯絡地址:SoftCogs Ltd Future Business Centre Cambridge Kings Hedges Rd, Cambridge CB4 2HY United Kingdom

DroidScript - PuckJS Plugin(圖1)-速報App

This free plugin enables your Android device to communicate with the Puck.js Bluetooth JavaScript micro-controller. Detailed information about controlling the Puck can be found

DroidScript - PuckJS Plugin(圖2)-速報App

on the :- http://www.espruino/Puck.js web site.

DroidScript - PuckJS Plugin(圖3)-速報App

You can use this plugin in your apps to remotely control all functions of your Puck by sending JavaScript code to the interpreter inside the Puck via Bluetooth. You can also receive the console output of your Puck programs to get information back to your app.

DroidScript - PuckJS Plugin(圖4)-速報App

Although you can send raw JavaScript code to the Puck using the SendCode method, in many cases you may prefer to use the built-in convenience methods provided by this plugin. These methods allow you easily perform common tasks such as controlling the LEDs, reading the battery level, reading button presses and getting the temperature etc.

DroidScript - PuckJS Plugin(圖5)-速報App

DroidScript - PuckJS Plugin(圖6)-速報App

DroidScript - PuckJS Plugin(圖7)-速報App