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.
Это бесплатный плагин позволяет вашему Android устройства для связи с Puck.js Bluetooth JavaScript микроконтроллером. Подробная информация об управлении Puck можно найти
на: - Http: веб-сайт //www.espruino/Puck.js.
Вы можете использовать этот плагин в приложениях удаленно управлять всеми функциями вашего Puck, отправив код JavaScript переводчику внутри Puck через Bluetooth. Вы также можете получить консольный вывод ваших программ Puck, чтобы получить информацию обратно в приложение.
Хотя вы можете отправить необработанный код JavaScript в Puck с использованием метода SendCode, во многих случаях вы можете предпочесть использовать встроенные удобные методы, предоставляемые этот плагин. Эти методы позволяют легко выполнять общие задачи, такие как управление светодиодами, чтение уровня заряда батареи, чтение нажатия кнопок и получить температуру и т.д.