Read the raw digital value from the specified ADC channel.
from cubloc import ADIn ADIn(channel: int)
channel number.
Returns the read_u16() value exposed by the RP2 MicroPython runtime.
channel is not an integer.channel is outside the supported range.from cubloc import ADIn # Example usage result = ADIn(0) print(result)