Added value attribute to Sensor to allow for analog read #67

Merged
merged 1 commit into from Dec 5, 2013

Conversation

Projects
None yet
3 participants
Contributor

efatsi commented Nov 20, 2013

This would let you call .value on a Dino::Components::Sensor object and get the analog value at any time.

This is a nice feature. It'd be cool if it worked on some of the other sensor libs too

Contributor

efatsi commented Nov 21, 2013

Sure thing, it's a simple enough feature. Do you want me to throw it on all things which use the analog pins?

Owner

austinbv commented Dec 5, 2013

@efatsi sure that would be great!

austinbv added a commit that referenced this pull request Dec 5, 2013

Merge pull request #67 from efatsi/master
Added value attribute to Sensor to allow for analog read

@austinbv austinbv merged commit 15cd48e into austinbv:master Dec 5, 2013

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment