I was wondering how I could make a C++ program interpret a signal that is going to the computer.
I've been using C++ for relatively simple things over the last few years, but this is a task that is definitely beyond me and my internet researching abilities. I've been trying to make a scoring machine that will determine who hits first in a fencing match. Also, if the two hits are too close together, there is a "simultaneous hit" and both fencers get a point. I was hoping to have an electrical signal sent wirelessly from the sword via an easybee transceiver...but once the signal is on the other end, I'm not sure what to do. The original goal was to use electronics (IC, resistors, etc.) but if it can be done on somebody's laptop, it could be much easier.
Does anybody know of a way to do this with C++ programming?...or is there somewhere else I should look?