pyupm_flex module

class pyupm_flex.Flex(pin)[source]

Bases: object

API for the Spectra Symbol Flex Sensor.

ID: flex

Name: Resistive Flex Sensor

Category: flexfor

Manufacturer: sparkfun

Link:https://www.sparkfun.com/products/8606

Connection: analog A simple flex sensor. The resistance across the sensor increases when flexed. Patented technology by Spectra Symbol, these sensors were used in the original Nintendo* Power Glove.

Flex Sensor image provided by SparkFun* underCC BY-NC-SA-3.0.

C++ includes: flex.hpp

value()[source]

int value()

Analog flex value