Add support for 4-pin range sensors, the velocity sensor, and LED status.
FossilOrigin-Name: ab34614152b3a25488aa4b55c45ec4a6f625bde42cd794209464825bb7654040
This commit is contained in:
parent
07b2d81523
commit
5a4fcbae87
4 changed files with 124 additions and 43 deletions
|
|
@ -37,7 +37,7 @@ class GPIO
|
|||
value: BASE + "gpio#{pin}" + "value"
|
||||
}
|
||||
|
||||
self.export rescue Errno::EBUSY nil
|
||||
self.export rescue nil
|
||||
end
|
||||
|
||||
# The GPIO PIN number.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue