Closed doron-mil closed 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?
Got it - was missing the bit mask and bit mode
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?