New answers tagged

6 votes

How can I use a serial port to listen to if a toggle is switched?

The basic idea is correct even though the details how you think it works are not entirely correct. Yes, you can connect DTR to DSR via a switch and be able to detect the switch state by reading the ...
user avatar
  • 89.6k

Top 50 recent answers are included