private async Task <bool> GetFirmataVersionAsync() { var firmware = await _session.GetFirmwareAsync(); Console.WriteLine($"Firmware: {firmware.Name} version {firmware.MajorVersion}.{firmware.MinorVersion}"); var protocolVersion = await _session.GetProtocolVersionAsync(); Console.WriteLine($"Firmata protocol version {protocolVersion.Major}.{protocolVersion.Minor}"); return(true); }