New answers tagged

1 vote

Can anyone help me write a program in Python to output 5V from a USB port to control a relay?

Perhaps the simplest way to get single bit I/O from a PC is to use a USB serial lead (they are all over AlliBayZon for a few $£€), and the pyserial library (not serial, that's something else) with ...
Neil_UK's user avatar
  • 162k

Top 50 recent answers are included