writeAnalog abstract method

Future<void> writeAnalog(
  1. String pin,
  2. int value, {
  3. Map<String, dynamic>? extra,
})

Write analog value to pin.

// Set pin 11 to value 48
await myBoard.writeAnalog('11', 48);

For more information, see Board component.

Implementation

Future<void> writeAnalog(String pin, int value, {Map<String, dynamic>? extra});