refactored input names and created facade
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
* Created on: May 31, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
#include "InputGPIOInterface.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
#include "InputGPIOInterface.h"
|
||||
|
||||
bool InputGPIOInterface::read_input_data(char pin)
|
||||
{
|
||||
@@ -31,6 +33,9 @@ void InputGPIOInterface::write_input_col(char data)
|
||||
}
|
||||
|
||||
|
||||
InputGPIOInterface()
|
||||
InputGPIOInterface::InputGPIOInterface()
|
||||
{
|
||||
std::ifstream matrix_config_stream(matrix_config_path);
|
||||
json matrix_config;
|
||||
matrix_config << matrix_config_stream;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user