From f7dddf06297f415413760f3bedf00f7297e60cf7 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Wed, 8 Apr 2020 11:17:47 -0500 Subject: Forget to add a bunch of things oops --- Lab4.X/lab4_servo.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Lab4.X/lab4_servo.h (limited to 'Lab4.X/lab4_servo.h') 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 // 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 */ + -- cgit v1.2.3