analogReaderValue abstract method
Read the current value of an analog reader of a board.
// Get the current value of an analog reader named "my_example_analog"
var analogVal = await myBoard.analogReaderValue('my_example_analog');
For more information, see Board component.
Implementation
Future<AnalogValue> analogReaderValue(String analogReaderName, {Map<String, dynamic>? extra});