Closed JohnDeereLiebhaber closed 3 years ago
As the hardware communication is handled by serialport which supports Windows 10, it should work.
thank you i was able to install everything successfully now i just ask one question i use the function device.startsending you have code examples i don't understand how it works (i'm just starting out with programming)
Thanks in advance
This is the example from README.md:
import { EnttecOpenDMXUSBDevice as DMXDevice } from "enttec-open-dmx-usb";
(async () => {
const device = new DMXDevice(await DMXDevice.getFirstAvailableDevice())
device.setChannels({
1: 0xFF,
2: 0x44
})
// same as
device.setChannels([0xFF, 0x44])
// same as
device.setChannels(Buffer.from([0xFF, 0x44]))
})()
If you don't understand it, you should learn the basics of JavaScript, Node.js and DMX first. There are many resources freely available on the internet.
Is Windows 10 supported mit this code?
Thank you