get_single_channel_value()#
- I2CInterface.get_single_channel_value(
- channel_name: str,
Return the most recent sample for
channel_namefrom the in-memory buffer.This will not wait, if data is not available then
Noneis returned.- Parameters:
channel_name – Name of the channel to retrieve.
- Raises:
RuntimeError – No background buffer;
start()was not called.