refactored input names and created facade

This commit is contained in:
Jonas Zeunert
2018-05-31 17:01:07 +02:00
parent 2bef8b6f2d
commit 2321f2997f
10 changed files with 36 additions and 17 deletions

View File

@@ -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;
}