Files
flippr-code/FlippR-Driver/src/utilities/GPIOInterface.h

33 lines
603 B
C++

/*
* GPIOInterface.hpp
*
* Responsible for communicating with the actual GPIO hardware.
*
* Gets a JSON file with following style:
* TODO
*
* Created on: May 6, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
*/
#ifndef SRC_UTILITIES_GPIOINTERFACE_H_
#define SRC_UTILITIES_GPIOINTERFACE_H_
#include <fstream>
#include "config.h"
class GPIOInterface
{
public:
virtual ~GPIOInterface() {};
static void write_pin(char address, char data);
static bool read_pin(char address);
};
#endif /* SRC_UTILITIES_GPIOINTERFACE_H_ */