addSubplatform method
Add sub platform - mraa_add_subplatform
Add MRAA sub platform Parameters are the sub platform type and the device or I2C bus the sub platform is on.
Implementation
MraaReturnCode addSubplatform(MraaPlatformType subplatformType, String dev) =>
MraaReturnCode.returnCode(_impl.mraa_add_subplatform(
subplatformType.code, dev.toNativeUtf8().cast<Char>()));