USB Relay switch on/off bulb using AMS?

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
Hello i have seen some youtube tutorial about USB Relay to switch on and off the buld or any led.. is anyone here tried it using AMS application?

thanks..
Comunicación con un puerto serial?

https://github.com/luaposix/luaposix/
I had posted several examples on this forum about paralell and serial port. Depending on your hardware you may use those. On newer projects i've been using usb HID using hidapi library, but requires better hardware. cheapy hardware usually repond to serial port so look for that.
we are actually looking for a USB type connection. we will get update this topic if we can make it.. also open for any help and suggestion..
we will just use AMS as an ON/OFF Button for the 2 bulb with the relay..

Imagen