Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var FTDIDriver = require('bindings')('ftdi.node').FtdiDriver;
var FTDIDevice = require('bindings')('ftdi.node').FtdiDevice;
var ftdiBinding;
var sys = require('sys'),
events = require('events');
// var deviceSettings = {
// vid: 0x27f4,
// pid: 0x0203
// };
var deviceSettings = {
vid: 0x18d9,
pid: 0x01a0
};
var connectionSettings =
{