summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorkutayboz <kutayboz@gmail.com>2023-06-03 04:18:33 +0300
committerkutayboz <kutayboz@gmail.com>2023-06-03 04:18:33 +0300
commit2374721c6840f56c07c31abcfddd6bd385d97d8b (patch)
tree356e47e92f88c842c145d78181cc645c93c247e1 /include/serial.h
parent8eec887bad2b821079e15d653fbbe6d6ccaceaf2 (diff)
downloadcelnetmon-2374721c6840f56c07c31abcfddd6bd385d97d8b.tar.gz
Added GPIO control. Seperated functions into libs
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
new file mode 100644
index 0000000..a4ccb35
--- /dev/null
+++ b/include/serial.h
@@ -0,0 +1,8 @@
+#ifndef __INCLUDE_SERIAL__
+#define __INCLUDE_SERIAL__
+
+int openSerialPort(char pathToPort[]);
+
+int querySerialPort(char **output, int serialPort, char *input);
+
+#endif