Няма описание
Kiveisha Yevgeniy 1dd8626044 mma7455: added new accelerometer module преди 10 години
cmake/modules ipk: add cpack ipk generation преди 10 години
examples mma7455: added new accelerometer module преди 10 години
src mma7455: added new accelerometer module преди 10 години
.gitignore .gitignore: add git ignore file преди 10 години
CMakeLists.txt cmake: update swig support преди 10 години
COPYING COPYING: add MIT license преди 10 години
Doxyfile.in Doxyfile.in: make doc generation work преди 10 години
README.md doxygen: add basic doxygen documentation for upm преди 10 години

README.md

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 documentation