Pigpio Client Versions Save

A nodejs client for pigpio socket interface.

1.4.0

4 years ago

v1.3.0

4 years ago

New Feature

  • All APIs now support async/await and promises

API - New

  • gpio.waveTxStop(cb) Aborts the transmission of the current waveform. This function is intended to stop a waveform started in repeat mode. waveTxStop

API - Enhancement

  • gpio.waveChainTx([{loop:x}, {waves: [wids]}, {delay:y}, {repeat:z}], cb) gpioWaveChain
    Transmit a chain of waves represented by array of wave IDs [wids]. The chain can have loops, be separated by delays and repeated by inclusion of option objects.
    • loop : x, begins a loop. x can be anything
    • delay: y, insert of delay of y=0 to 65535 microseconds
    • repeat: z, repeat loop z=0 to 65535 times or forever if z=true

v1.1.0

5 years ago

Improvements

  • Automatic network socket reconnection on startup (available in autoreconnect branch)
  • Dead network socket peer detection with 'disconnected' event (available in autoreconnect branch)
  • Pigpio errors returned with descriptive text strings
  • Debug messages enabled through environment variable *Add version to info object

Patches

  • Public API updated to reduce ambiguity.
  • Code base changes to conform to public API.
  • Fix gpio.notify updates current level only on first call.
  • Fix exception thrown when gpio.endNotify is called without a callback.
  • Fix to update current gpio levels when restarting notifications.
  • Fix pigpio info properties not initialized before 'connected' event.

v1.0.0

6 years ago

Initial release published to NPM. Use with caution! Readme is missing 'connected' event and contains errors in some API descriptions. There are bugs in serial port also so wait for 1.0.1 patch version forthcoming.