arduino stuffs
Diffstat (limited to 'car_driver/godot/src/gdserial.h')
-rw-r--r--car_driver/godot/src/gdserial.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/car_driver/godot/src/gdserial.h b/car_driver/godot/src/gdserial.h
deleted file mode 100644
index dd8c9e1..0000000
--- a/car_driver/godot/src/gdserial.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef GDSERIAL_H
-#define GDSERIAL_H
-
-#include <Godot.hpp>
-
-namespace godot {
-
-class GDSerial : public Reference {
- GODOT_CLASS(GDSerial, Reference)
-
-private:
- int serial_port;
-
-public:
- static void _register_methods();
-
- GDSerial();
- ~GDSerial();
-
- void _init(); // our initializer called by Godot
-
- bool start(String port, int baud_rate);
- void end();
- void send(String text);
- int get_available();
- String read_string();
-};
-
-} // namespace godot
-
-#endif