Hello,
I have a magnetic contact switch linked to a serial port connection. At the point in the circuit where the serial connection is the voltage is approximately 1volt and when the contact is broken there is 0volts going to the serial port.
Does anybody know of a way in VB.NET to first of all read the serial port (COM4) and then determine what the voltage is?
Any help would be greatly appreciated
PS Im using Visual Studio 2005
I have a magnetic contact switch linked to a serial port connection. At the point in the circuit where the serial connection is the voltage is approximately 1volt and when the contact is broken there is 0volts going to the serial port.
Does anybody know of a way in VB.NET to first of all read the serial port (COM4) and then determine what the voltage is?
Any help would be greatly appreciated
PS Im using Visual Studio 2005