0.5.2 • Published 3 months ago

@iqrok/serial.helper v0.5.2

Weekly downloads
5
License
MIT
Repository
github
Last release
3 months ago

serialport Helper

Installation

npm install @iqrok/serial.helper

Usage

const serialHelper = require('@iqrok/serial.helper');
const serial = new serialHelper(
    port: '/dev/ttyUSB0',
    baud: 9600,

    // reconnect when connection is lost
    // if left undefined will be set to true
    autoreconnect: true,

    // interval, in millisecond, between reconnect attempt
    reconnectInterval: 3000, 

    // open port when creating instance 
    // if left undefined will be set to true
    autoopen: true,
);
0.5.2

3 months ago

0.5.0

8 months ago

0.5.1

6 months ago

0.4.3

1 year ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago