Add string based constructors for UPM sensors
Signed-off-by: Mihai Stefanescu <mihai.stefanescu@rinftech.com> Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
18
src/initio/initioSampleModule.cpp
Normal file
18
src/initio/initioSampleModule.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "initioSampleModule.hpp"
|
||||
|
||||
using namespace upm;
|
||||
using namespace std;
|
||||
|
||||
initioSampleModule::initioSampleModule(std::string initStr) : mraa::MraaIo(initStr)
|
||||
{
|
||||
// Do some processing here
|
||||
//std::cout << "111 " << leftoverStr << std::endl;
|
||||
}
|
||||
|
||||
initioSampleModule::~initioSampleModule()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user