thomaschaaf / node-ftdi

FTDI bindings for Node.js
MIT License
45 stars 39 forks source link

What to write to FT245RL?? #33

Closed doron-mil closed 5 years ago

doron-mil commented 5 years ago

Trying to test my FT245RL board.

ftdi.find( ==> is resulting with the right device. device.open ===> Doesn't raise any errors.

Tried to (Want to open/close the relay's ports) ...

const data = [0x01]; device.write(data, function (err) { }); ===> still no errors

But nothing happens. Can someone help me understand what should be written so the relay will work?

doron-mil commented 5 years ago

Got it - was missing the bit mask and bit mode