aboutsummaryrefslogtreecommitdiffstats
path: root/Lab4.X/lab4_servo.h
blob: c96cbf352dd4eac2d8e64d941ee7ea9a779ba581 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */