go-rpio icon indicating copy to clipboard operation
go-rpio copied to clipboard

add func ReadMode、ReadPinMode.

Open fionlei opened this issue 4 years ago • 1 comments

WiringPi: gpio readall . gpio mode pin mode ...

add func ReadMode、 ReadPinMode.

fionlei avatar Jul 31 '20 09:07 fionlei

Nice addition, would be better if the ReadPinMode method returned the constants already present, like Input, Output, etc.

0x3333 avatar Sep 19 '20 14:09 0x3333