I have a distance sensor producing a TTl logical signal made so:
the high level is proportional to the distance read.
I have to read the whole signal counting the "true" (or high) so i can reconstruct the distance read by the sensor.
It is possible with the vb6? And if it is possible, can you help me because it seems that the board read only the changes of level ?
Can you submit a possible code?