Compartilhar via


I2cBusExtensions.ToUserReadableTable Método

Definição

Converte a saída de PerformBusScan(I2cBus, IProgress<Single>, Int32, Int32) em uma tabela legível pelo usuário, correspondente à saída do comando padrão do Linux i2cdetect.

public static string ToUserReadableTable (this (System.Collections.Generic.List<int> FoundDevices, int LowestAddress, int HighestAddress) data);
static member ToUserReadableTable : ValueTuple<System.Collections.Generic.List<int>, int, int> -> string
<Extension()>
Public Function ToUserReadableTable (data As ValueTuple(Of List(Of Integer), Integer, Integer)) As String

Parâmetros

data
ValueTuple<List<Int32>,Int32,Int32>

O resultado de uma verificação de ônibus

Retornos

Uma tabela na forma de uma cadeia de caracteres de várias linhas para os primeiros 127 dispositivos possíveis. Um campo vazio representa um endereço que não foi testado, um - significa que nenhum dispositivo encontrado e um número significa que havia um dispositivo nesse endereço

Aplica-se a