final project  1
sweep.h File Reference

sweeps for objects using servo motor, sonar and IR sensors More...

Go to the source code of this file.

Macros

#define period   20
 
#define TIMER4B_PRESCALER   50
 

Functions

void sweep ()
 sweeps from 0 to 180 degrees, reads and sends data More...
 
void sweep_init ()
 initializes the sweep modules More...
 

Variables

volatile float sersvo_angle
 

Detailed Description

sweeps for objects using servo motor, sonar and IR sensors

Author
Steven, Kynara, Saba, Bailey, Brett, Austin
Date
4/24/18

Definition in file sweep.h.

Function Documentation

◆ sweep()

void sweep ( )

sweeps from 0 to 180 degrees, reads and sends data

sends the angle, width and distance of each tall object detected within 100cm to uart

Definition at line 60 of file sweep.c.

◆ sweep_init()

void sweep_init ( )

initializes the sweep modules

calls all of the other inits

Definition at line 44 of file sweep.c.