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
on the :- http://www.espruino/Puck.js web site.
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.
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.
Ini plugin percuma membolehkan peranti Android anda untuk berkomunikasi dengan Puck.js Bluetooth JavaScript mikro-pengawal. Maklumat terperinci mengenai mengawal canela boleh didapati
disebabkan oleh: - http: Laman web //www.espruino/Puck.js.
Anda boleh menggunakan plugin ini dalam aplikasi anda untuk jauh mengawal semua fungsi Puck anda dengan menghantar kod JavaScript kepada jurubahasa itu dalam canela melalui Bluetooth. Anda juga boleh menerima output konsol program Puck anda untuk mendapatkan maklumat kembali ke apl anda.
Walaupun anda boleh menghantar kod JavaScript mentah untuk canela menggunakan kaedah SendCode, dalam banyak kes, anda boleh memilih untuk menggunakan kaedah mudah terbina dalam disediakan oleh plugin ini. Kaedah-kaedah ini membolehkan anda dengan mudah melaksanakan tugas-tugas biasa seperti mengawal LED, membaca paras bateri, membaca menekan butang dan mendapatkan suhu dan lain-lain