30 lines
527 B
C++
30 lines
527 B
C++
//
|
|
// Created by rhetenor on 10.10.18.
|
|
//
|
|
|
|
#ifndef flippR_driver_IOUTPUTGPIOINTERFACE_H
|
|
#define flippR_driver_IOUTPUTGPIOINTERFACE_H
|
|
|
|
#include "OutputItem.h"
|
|
#include "IOutputGPIOInterface.h"
|
|
|
|
#include <memory>
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace utility
|
|
{
|
|
|
|
class IOutputGPIOInterface
|
|
{
|
|
public:
|
|
//muss alles geschützt sein
|
|
void set_address(int i2c_address, int address);
|
|
void activate_pin(int i2c_address, int pin);
|
|
void deactivate_pin(int i2c_address, int pin);
|
|
};
|
|
|
|
}
|
|
}
|
|
#endif //flippR_driver_IOUTPUTGPIOINTERFACE_H
|