Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
please send me a code to track a small voltage disconnection

how to convert current into bool value

how to track voltage.



bool current=true;
if(current==false){messagebox.show("disconnected");}
Posted

1 solution

Detecting current changes implies using hardware for reading values, therefore you should contact the hardware provider for a SDK (software development kit) to read from their device.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900