# Test input

When this part gains control of a flowchart, it runs a test on a chosen input pin on the microcontroller that has been associated with the flowchart.

Choose the pin and the test condition in the part's Properties pane:

- Input: Choose an input from the microcontroller that has been associated with the flowchart.
- Comparison: Choose how to compare the state of the input.
  - If the input is digital, choose 'On?' or 'Off?'
  - If the input is analogue, choose =, <, >, <> , <=, or >=.
- Expression: If you choose a comparison, you will be able to enter an expression in this field. When the part gains control of the flowchart, the expression will be worked out. The resulting value will be compared with the state of the selected input pin.

## See also:

- Microcontroller
- Using flowcharts parts