Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bus-pirate

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

bus-pirate

Control Bus Pirate hardware with Node.JS

  • 0.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by900%
Maintainers
1
Weekly downloads
 
Created
Source

bus-pirate

Control a Bus Pirate with Node!

Don't know what that is? Check it out

I'm testing this with the v3.6 and the v4 and Node 7.x

Currently working

General

BusPirate.start()
BusPirate.reset()
'ready' event -- BusPirate.on('ready', () => {})

I2C

BusPirate.i2cInit()
BusPirate.i2cConfig({
  power: true,
  pullups: true,
  aux: true,
  cs: true
})
BusPirate.i2cWrite(address, bytesArray)

UART

Removed for refactoring until 2.3.5
BusPirate.uartInit();
BusPirate.uartSetSpeed(9600);
BusPirate.uartConfig({
  pinOutput: "HiZ",
  databitsParity: "8/N",
  stopBits: 1,
  polarity: "idleHigh"
});
BusPirate.uartSetPeripherals({
  power: true,
  pullups: false,
  aux: false,
  cs: false
});
BusPirate.uartSetRxEcho(true);
BusPirate.uartWrite(["abcd"]);

Roadmap

Thanks to node-serialport for making this all possible <3

Contributors

  • @nodebotanist
  • @hannes-hochreiner

FAQs

Package last updated on 20 Jan 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc