You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/ked/oldDevFiles/temp/pImpl_for_gpio/igpio.hpp

22 lines
269 B

#ifndef _IGPIO_HPP_
#define IGPIO_HPP_
#include <memory>
class GPIO
{
public:
GPIO();
~GPIO();
bool read();
void write(const bool& logic_state);
void toggle();
private:
class GPIO_impl;
std::unique_ptr<GPIO_impl> impl;
};
#endif // _IGPIO_HPP_