在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):vshymanskyy/blynk-library-js开源软件地址(OpenSource Url):https://github.com/vshymanskyy/blynk-library-js开源编程语言(OpenSource Language):JavaScript 97.8%开源软件介绍(OpenSource Introduction):blynk-library-jsBlynk library implementation for JavaScript (Node.js, Espruino) If you like Blynk - give it a star, or fork it and contribute! What is Blynk?Blynk provides iOS and Android apps to control any hardware over the Internet or directly using Bluetooth. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets, right on your smartphone. Blynk is the most popular IoT platform used by design studios, makers, educators, and equipment vendors all over the world. DownloadBlynk App: Google Play | App Store Blynk Server DocumentationSocial: Webpage / Facebook / Twitter / Kickstarter Getting Started tutorials
Usage examplevar BlynkLib = require('blynk-library');
var blynk = new BlynkLib.Blynk('715f8caae9bf4a91bae319d0376caa8d');
var v1 = new blynk.VirtualPin(1);
var v9 = new blynk.VirtualPin(9);
v1.on('write', function(param) {
console.log('V1:', param);
});
v9.on('read', function() {
v9.write(new Date().getSeconds());
}); Tested on:
Boards with supported direct pin IO:
Just install the required package and this module will do auto-detection. Implementations for other platforms
LicenseThis project is released under The MIT License (MIT) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论