aboutsummaryrefslogtreecommitdiffstats
path: root/Lab4.X/lab4_servo.h
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2020-04-08 11:17:47 -0500
committerRossTheRoss <msattr@gmail.com>2020-04-08 11:17:47 -0500
commitf7dddf06297f415413760f3bedf00f7297e60cf7 (patch)
tree2a3008d3efcf7b140593b120ca925e1757e1d83c /Lab4.X/lab4_servo.h
parente (diff)
downloadee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.gz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.bz2
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.lz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.xz
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.tar.zst
ee2361-f7dddf06297f415413760f3bedf00f7297e60cf7.zip
Forget to add a bunch of things
oops
Diffstat (limited to 'Lab4.X/lab4_servo.h')
-rw-r--r--Lab4.X/lab4_servo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Lab4.X/lab4_servo.h b/Lab4.X/lab4_servo.h
new file mode 100644
index 0000000..c96cbf3
--- /dev/null
+++ b/Lab4.X/lab4_servo.h
@@ -0,0 +1,17 @@
+#ifndef LAB4_SERVO_H
+#define LAB4_SERVO_H
+
+#include <xc.h> // include processor files - each processor file is guarded.
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+ void delay(long n);
+ void initServo(void);
+ void setServo(int Val);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* XC_HEADER_TEMPLATE_H */
+