Added analog receive mode for the pin with a threshold.