91
4. Sensor adaptor (1) port (1) ADC value
(1) Description: Read the ADC pin value of a specified port of a specified sensor adaptor.
(2) Return value: Information block
(3) Example: Temperature alarm
Connect a temperature sensor to sensor adaptor No. (1). A sound alert is played when the temperature sensor approaches a cup
filled with hot water.
Notes:
1) The sensor adaptor ADC is a 10-bit ADC which can take data of up to 1024 unique values, so the ADC range is from 0
to 1023.
2) ADC collects the voltage value. Devices such as pressure sensors, potentiometers, and others have ADC output.