The Grove Slide Potentiometer module incorporates a linear variable resistor with a maximum resistance of 10KΩ. When you move the slider from one side to the other, its output voltage will range from 0 V to the Vcc you apply. It connects to the other Grove modules through a standard 4-Pin Grove Cable. Three of the pins are connected to OUT (Pin 1), Vcc (Pin 3) and GND (Pin 4), while the fourth pin (Pin 2) is connected to an on-board green indicator LED. The LED is used to visually represent the resistance change on the potentiometer.
Replace the default code with the code in "main.cpp" from this GitHub repo by creating an empty project OR clone the GitHub code in to your Keil Studio Cloud IDE (recommended).
- NXP FRDM K64F development board
- Grove Shield
- 10KΩ Grove Slide Potentiometer
- Keil Studio Cloud IDE
Issues can be used to keep track of bugs, enhancements, or other requests. For more information, see Creating an Issue. You are encouraged to create an issue if you need to report a bug or request an enhancement.
GitHub Discussions is a collaborative communication forum. You can ask and answer questions, share updates, have open-ended conversations, and follow along on relevant decisions. Click on the Discussions tab on the top to get strated.
This repository is created and maintained by Priyank Kalgaonkar. You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see Contributing to Projects guide.