How to connect the button to the computer?

0 like 0 dislike
45 views
Want to make the button on the cable (~3M) connected to the computer, such as USB. Was formerly RS-232 and LPT - everything was just. How to do it in segodnyashnih realities? Soldering iron in hands to hold. Yes, and as this button then poll (or wait call) from code in C, Java or Python?
by | 45 views

3 Answers

0 like 0 dislike
Digispark
Digispark-attiny85-Micro-USB-Arduino.jpg
by
0 like 0 dislike
Through Arduino as an option.
Although I don't like this toy, Ah such purposes it is simpler not to think. Worth a penny, examples of the network tons.
by
0 like 0 dislike
Using any microcontroller (the most primitive version of Arduino) and work with UART (RX/TX) as a normal COM port.
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
33,707 users