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.
plugin gratis ini memungkinkan perangkat Android Anda untuk berkomunikasi dengan Puck.js Bluetooth JavaScript micro-controller. informasi rinci tentang cara mengontrol Puck dapat ditemukan
pada: - http: situs web //www.espruino/Puck.js.
Anda dapat menggunakan plugin ini dalam aplikasi Anda untuk kontrol jarak jauh semua fungsi dari Puck Anda dengan mengirimkan kode JavaScript untuk penerjemah dalam Puck melalui Bluetooth. Anda juga dapat menerima output konsol program Puck untuk mendapatkan informasi kembali ke aplikasi Anda.
Meskipun Anda dapat mengirim kode JavaScript baku untuk Puck menggunakan metode SendCode, dalam banyak kasus Anda dapat memilih untuk menggunakan metode kenyamanan built-in yang disediakan oleh plugin ini. Metode ini memungkinkan Anda dengan mudah melakukan tugas-tugas umum seperti mengendalikan LED, membaca tingkat baterai, membaca menekan tombol dan mendapatkan suhu dll