aboutsummaryrefslogtreecommitdiffstats
path: root/Lab4.X/lab4_servo.h
diff options
context:
space:
mode:
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 */
+