Added iGyroscope interface

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-10-02 14:06:17 +03:00
committed by Mihai Tudor Panu
parent 34bb12933d
commit aa966946d5
39 changed files with 222 additions and 47 deletions

View File

@@ -31,6 +31,8 @@
#include <mraa/gpio.hpp>
#include "bmg160.h"
#include <interfaces/iGyroscope.hpp>
namespace upm {
/**
@@ -71,7 +73,7 @@ namespace upm {
* @snippet bmg160.cxx Interesting
*/
class BMG160 {
class BMG160: virtual public iGyroscope {
public:
/**
* BMG160 constructor.