upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | List of all members

API for the Spectra Symbol Flex Sensor. More...

Detailed Description

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.jpg


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

Public Member Functions

synchronized void delete ()
 
 Flex (int pin)
 
int value ()
 

Constructor & Destructor Documentation

Flex ( int  pin)

Flex sensor constructor

Parameters
pinAnalog pin to use

Member Function Documentation

int value ( )
Returns
Analog flex value

The documentation for this class was generated from the following file: