pinmodeTest method
Pin mode test - mraa_pin_mode_test
Checks if a pin is able to use the requested mode. Returns true if the mode is supported.
Implementation
bool pinmodeTest(int pin, MraaPinmode mode) {
final ret = _impl.mraa_pin_mode_test(pin + _grovePiPinOffset, mode.code);
return ret != 0;
}