Read the state of a potentiometer
Simulink Coder Support Package for NXP FRDM-KL25Z Board/ FRDM-TFC Shield
The NXP TFC shield comes with two on board potentiometers (POTA and POTB).
The block output emits values from -1.0 to 1.0 based on the current angular position of the potentiometer. These values correspond to the potentiometer being turned fully counter clockwise or fully clockwise respectively.
During simulations without the hardware, this block emits zeroes.
Select potentiometer A or B.
Specify how often this block reads the potentiometer value, in seconds.