Socket
Book a DemoInstallSign in
Socket

pinoccio-serial

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinoccio-serial

serial interface base objects for pinoccio microcontrollers https://pinocc.io

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

pinoccio-serial

serial interface base objects for pinoccio microcontrollers https://pinocc.io

var serialport = require('serialport');
var serial = require('pinoccio-serial');

var pinoccios = serial(serialport);

pinoccios.list(function(err,array of scouts found){
  console.log('found',found,'pinoccios connected');
});

pinoccios.connect(com,function(err,scout){
  scout.command("led.red",function(err,data){
    // send a bitlash command to the scout
  });

  // close the connection. callback optional
  scout.close(function(err){
    // closed
  });
});


FAQs

Package last updated on 24 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts