View unanswered posts | View active topics It is currently Wed Nov 20, 2019 2:37 am






Reply to topic  [ 2 posts ] 
Detecting whether a sensor is plugged in? 
Author Message
Rookie

Joined: Sat Mar 14, 2015 1:52 am
Posts: 1
Post Detecting whether a sensor is plugged in?
Hi, I'm trying to detect whether a sensor is plugged in and to run different things if it is/isn't.

ex:
if(sensorpluggedin){
do this
}
else{
do this
}

How would I go about to accomplish this?


Sat Mar 14, 2015 1:57 am
Profile
Expert

Joined: Thu Dec 01, 2011 12:07 am
Posts: 151
Post Re: Detecting whether a sensor is plugged in?
Please provide the sensor make/model and input type (digital or analog) used. Information about how the sensor is used would also help.


Tue Mar 17, 2015 12:03 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.