Synopsis
float platform_read_analog_pin(int pin);
Description

platform_read_analog_pin reads the state of a pin that's configured to be an analog input. The value returned is between 0 and 1 for single-ended analog inputs and -1 and +1 for differential inputs.

This function is fast and does no error checking whatsoever: it is the client's responsibility to use this function correctly.

See Also

platform_write_analog_pin