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.
هذا البرنامج المساعد الحرة تمكن جهاز الروبوت الخاص بك للاتصال مع وحدة تحكم الصغرى Puck.js بلوتوث جافا سكريبت. يمكن الاطلاع على معلومات مفصلة حول التحكم في الصولجان
على: - HTTP: الموقع //www.espruino/Puck.js على شبكة الإنترنت.
يمكنك استخدام هذا البرنامج المساعد في التطبيقات الخاصة بك للسيطرة على جميع وظائف الصولجان عن بعد عن طريق إرسال شفرة جافا سكريبت لالمترجم داخل الصولجان عن طريق البلوتوث. يمكنك أيضا الحصول على وحدة الانتاج برامج الصولجان الخاص بك للحصول على المعلومات إلى التطبيق الخاص بك.
على الرغم من أنك يمكن أن ترسل شفرة جافا سكريبت الخام إلى الصولجان باستخدام طريقة SendCode، في كثير من الحالات قد تفضل استخدام أساليب الراحة المدمج في المقدمة من هذه المكونات. تسمح هذه الطرق لك بسهولة تنفيذ المهام الشائعة مثل السيطرة على المصابيح، وقراءة مستوى البطارية، والقراءة تضغط على زر والحصول على درجة الحرارة الخ