I am trying to set the ethernet port pins directly to send High / Low signals to light up four LEDs. Is there any way I can simply connect LEDs to the ethernet cable?

What would be the best approach, if using ethernet is not a good option, to light up four LED lights and switch them on/off using a PC.

I am planning to create a command-line tool in Python. So far I have gone through a lot of articles about PySerial, LibUSB etc. and have been suggested to use USB to UART converter modules, or USB to RS-232 converters.

Actually I don't want any interfaces except the PC port and the LEDs as far as possible.

Please suggest!

有帮助吗?

解决方案

No, it is not possible. There is no sane way to affect the PHY in PC software.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top