go-rpio
go-rpio copied to clipboard
add func ReadMode、ReadPinMode.
WiringPi: gpio readall . gpio mode pin mode ...
add func ReadMode、 ReadPinMode.
Nice addition, would be better if the ReadPinMode method returned the constants already present, like Input, Output, etc.