LED Strip with Arduino DemoForce-Sensing Linear Potentiometer and
This is an example Arduino sketch that shows how to use an Interlink force-sensing linear potentiometer (FSLP) to control an addressable RGB LED strip.
This code works with the following FSLPs:
- Force-Sensing Linear Potentiometer: 1.4″×0.4″ Strip
- Force-Sensing Linear Potentiometer: 4.0″×0.4″ Strip, Customizable Length
This code uses the PololuLedStrip library, so it will work with any LED strips supported by that library. If you do not have an LED strip, you can still use this code to get pressure and sensor readings from the FSLP.
For more details about this code, including a video and a schematic, see our blog post about the demo.