0.2.4 • Published 7 years ago

bus-pirate v0.2.4

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

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
0.2.4

7 years ago

0.2.3

7 years ago

0.2.21

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.15

8 years ago

0.0.1

8 years ago