Can this DC dimmer work with a leonardo using usb?

Well there is only one way to find out. i just ordered the 5 wire type with a separate switch, and also a 3 wire that says it is a switch.

If anyone is wondering why I ordered 250K, this is an interesting video that shows it doesn't matter what k pot for arduino: Potentiometer Values? Does it matter in your next Arduino Project? - YouTube