// // Created by Matthew on 2023/12/27. // #ifndef MICROPHOTO_GPIOCONTROL_H #define MICROPHOTO_GPIOCONTROL_H class GpioControl { public: int exp(int gpio); int setDirection(int gpio, int direction); int readStatus(int gpio); int writeStatus(int gpio, int value); int unexp(int gpio); static bool EnableGpio(int gpio, bool en); }; #endif //MICROPHOTO_GPIOCONTROL_H