0% found this document useful (0 votes)
127 views1 page

Servo H

This document contains definitions and function prototypes for controlling servos. It includes event and type definitions, defines a bitmask for all positions, and declares functions to initialize the servo system and write a position to a specific servo.

Uploaded by

api-340729449
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views1 page

Servo H

This document contains definitions and function prototypes for controlling servos. It includes event and type definitions, defines a bitmask for all positions, and declares functions to initialize the servo system and write a position to a specific servo.

Uploaded by

api-340729449
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 1

#ifndef Servo_H

#define Servo_H
// Event Definitions
#include "ES_Configure.h" /* gets us event definitions */
#include "ES_Types.h"
/* gets bool type for returns */
// Public Function Prototypes
#ifndef ALL_BITS
#define ALL_BITS (0xff<<2)
#endif
void ServoInit(void);
void ServoWrite(uint8_t servo, uint8_t position);
#endif

You might also like