Potentiometer

Library

Description

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.

Parameters

Potentiometer

Select potentiometer A or B.

Sample time

Specify how often this block reads the potentiometer value,
in seconds.

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .