UNPKG
blinkstick-n9
Version:
latest (2.0.0)
2.0.0
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
Blickstick API for Node.js
github.com/arvydas/blinkstick-node
arvydas/blinkstick-node
blinkstick-n9
/
examples
/
iterate
/
find_by_serial.js
10 lines
(8 loc)
•
231 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
var
blinkstick =
require
(
'blinkstick'
); blinkstick.
findBySerial
(
"BS000000-1.0"
,
function
(
bstick
) {
if
(bstick) {
console
.
log
(
"BlinkStick found!"
); }
else
{
console
.
log
(
"BlinkStick not found..."
); } });