Module: BusPirate

Main BusPirate module
Author:
  • nodebotanist
Source:

Methods


<inner> BusPirate(options)

Represents a BusPirate object
Parameters:
Name Type Description
options Object
Properties
Name Type Description
port String - the absolute path to the serial port of the bus pirate (e.g. /dev/tty.usbserial-xxxx)
Source:

<inner> reset()

Sends a reset code to the bus pirate-- exits the current mode if applicable then performs a hardware reset
Source:

<inner> resetMode()

Resets the BusPirate to raw BitBang mode
Source:
Fires:
  • event:mode_reset

<inner> start()

Starts the bus pirate.
Source:
Fires:

Events


ready

Ready event -- signals the bus pirate is ready to recieve commands
Source:

ready

Ready event -- signals the bus pirate is ready to recieve commands
Source: