12345678910111213141516171819202122232425262728 |
- //
- // Created by robin on 5/6/16.
- //
-
- #ifndef DIGICODE_HOST_ARDUINOSERIAL_H
- #define DIGICODE_HOST_ARDUINOSERIAL_H
-
-
- #include <string>
-
- class ArduinoSerial
- {
- public:
- ArduinoSerial(std::string port, int baudrate);
- virtual ~ArduinoSerial();
-
- int open();
- void close();
-
- protected:
- std::string port_;
- int bauderate_;
-
- int fd_;
- };
-
-
- #endif //DIGICODE_HOST_ARDUINOSERIAL_H
|