LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Floating Digital Input

I write a simple loop to read the status of an Arduino digital input.  It works as expected when the input is either HIGH or LOW.  However, when the Arduino input is left to float, the signal flutters intermittently between HIGH and LOW.  I know that floating is an indeterminite state but jumping back and forth would seem to put HIGH and LOW input state in question anytime they are read.

0 Kudos
Message 1 of 2
(2,586 Views)

Hey BSchreiner,

This floating behavior of randomly jumping back and forth is expected.  It is decribed in more detail here:http://arduino.cc/en/Tutorial/DigitalReadSerial.

I am not sure I follow why this would put High or Low in question anytime a digital read is performed in the non floating state so if I am missing something please let me know. 

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 2
(1,913 Views)