#ifndef CONTROLLER_H #define CONTROLLER_H #include #include"gpiodetect.h" #include"gpioinit.h" /****************************************************************************** * Copyright 2020-xxxx xxx Co., Ltd. * All right reserved. See COPYRIGHT for detailed Information. * * @file controller.h * @brief This class is developed for init and detect the input from gpio * * @author teademia@.gmail * @date 2023/11/21 * @history *****************************************************************************/ class Controller : public QObject { Q_OBJECT public: explicit Controller(QObject *parent = nullptr); private: gpiodetect * GPIODetect; gpioInit * GPIOInit; signals: private slots: void GPIO_HIGH(int pin); //Deal with High Signal void GPIO_LOW(int pin); }; #endif // CONTROLLER_H