Brendan Le Foll b0684c98a8 upm: move to maa 0.2.1 C api
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-04-30 14:58:11 +01:00
2014-04-30 14:58:11 +01:00
2014-04-25 15:33:40 +01:00
2014-04-30 14:58:11 +01:00

UPM - Sensor/Actuator repository for Maa

UPM is a high level repository for sensors that use maa. Each sensor links to
libmaa and are not meant to be interlinked although some groups of sensors may
be. Each sensor contains a header which allows to interface with it. Typically
a sensor is represented as a class and instanciated.

The constructor is expected to initialise the sensor and paramters may be used
to provide identification/pin location on the board.

Typically an update() function will be called in order to get new data from the
sensor in order to reduce load when doing multiple reads to sensor data.

A basic sensor is expected to work as such:
s = new sensor();
print(sensor->read());
sleep(1);
s->update();
print(sensor->read();

However implementation and API design is compeltely up to the developer, some
enumerable sensors for example may provide much clever instanciation. Displays
may also create more complex structures in order to interface with them.

For more information on maa, see the maa README
Description
UPM is a high level repository that provides software drivers for a wide variety of commonly used sensors and actuators. These software drivers interact with the underlying hardware platform through calls to MRAA APIs.
Readme MIT 33 MiB
Languages
C++ 47.7%
C 46.4%
CMake 2.3%
SWIG 1.9%
Python 0.6%
Other 1.1%