Answer the question
In order to leave comments, you need to log in
How to connect a button to a computer via usb?
There is a task of the following kind, there is a button without fixing (that is, either 1 or 0), you need to transfer this state via usb and process it in a c# program. There was an idea when pressing the button to close D + and power, and already with D + programmatically read a logical unit. The question is how to organize the hardware part correctly (is it enough that I will pull D + up to 5V), the software part (how to process the incoming signal, is it possible to implement it in c #, or will I have to create a separate driver and already exchange data with the application) . I can’t use MK, I need to make a button with minimal costs, since there will be a large number of them.
Answer the question
In order to leave comments, you need to log in
Nothing without MK. Oh, and also, you will need to write drivers for USB :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question