View unanswered posts | View active topics It is currently Thu Aug 28, 2014 9:24 am






Reply to topic  [ 2 posts ] 
sensorDigitalIn means pull up resistor is enabled 
Author Message
Rookie

Joined: Mon May 14, 2012 3:24 pm
Posts: 43
Post sensorDigitalIn means pull up resistor is enabled
Mental note to self... a "sensorDigitalIn" port means the pull up resistor is enabled.

Use sensorDigitalHighImpedance for input port with pull up disabled.

I am used to the default being the pull ups are disabled. I just know I am going to trip up on this down the road :D


Mon May 14, 2012 4:12 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 602
Post Re: sensorDigitalIn means pull up resistor is enabled
Yep, this feature was added between the private Alpha and the public Beta.

More information on the sensor types can be found on the Wiki:
http://www.robotc.net/wiki/ARDUINO_328_ ... rs#Digital

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Tue May 15, 2012 9:01 am
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.