UNPKG

njs-modbus

Version:

A pure JavaScript implemetation of Modbus for NodeJS.

8 lines (7 loc) 320 B
/** * Get time interval between message frames witch well-known as 3.5T. * @param baudRate Serial port baud rate. * @param {number} [approximation=48] Approximate number of bits corresponding to 3.5T. * @returns `ms`. */ export declare function getThreePointFiveT(baudRate: number, approximation?: number): number;