This is an old revision of the document!
Read the average of 10 ADIn samples from the specified ADC channel.
from cubloc import TADIn TADIn(channel: int)
channel number (0 to 2), mapped to GP26, GP27, and GP28.
Returns the integer average of 10 consecutive ADIn readings.
channel is not an integer.channel is outside the supported range.from cubloc import TADIn # Example usage result = TADIn(0) print(result)