UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

Flex Class

Module: flex

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

Item Index

Methods

Methods

Flex

(
  • pin
)
Number

Flex sensor constructor

Parameters:

  • pin Number

    Analog pin to use

Returns:

Number:

value

() Number

Returns:

Number:

Analog flex value