Autodrone
Multi-Domain Vehicle
drv_worm.h
Go to the documentation of this file.
1
10#ifndef SRC_DRV_DRV_WORM_H_
11#define SRC_DRV_DRV_WORM_H_
12
13/* Global Variables */
14extern bool arm1Hit;
15extern bool arm2Hit;
16
17/* Function Prototypes */
18void wormInit(void);
19void wormDrive(void);
20
21#endif /* SRC_DRV_DRV_WORM_H_ */
void wormInit(void)
Initializes the low level registers to set up timer 1 and GPIO interrupts.
Definition: drv_worm.c:22
bool arm2Hit
Definition: drv_worm.c:15
bool arm1Hit
Definition: drv_worm.c:14
void wormDrive(void)
Sets the PWM going to the motor driver circuit.
Definition: drv_worm.c:88