Add support for 4-pin range sensors, the velocity sensor, and LED status.

FossilOrigin-Name: ab34614152b3a25488aa4b55c45ec4a6f625bde42cd794209464825bb7654040
This commit is contained in:
Mahlon E. Smith 2023-05-12 05:46:35 +00:00
parent 07b2d81523
commit 5a4fcbae87
4 changed files with 124 additions and 43 deletions

View file

@ -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.