Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Lab_6_WaG by
wag.h
- Committer:
- spm71
- Date:
- 2018-04-12
- Revision:
- 58:69f9a4607a16
- Parent:
- 57:aef01bd9b3be
- Child:
- 62:b73067127fd6
- Child:
- 64:72f7f5757f0d
File content as of revision 58:69f9a4607a16:
/****************************************************************************** * EECS 397 * * Assignment Name: Lab 6: WaG * * Authors: Sam Morrison and Phong Nguyen * File name: utility.h * Purpose: Header for WaG functions * * Created: 04/03/2018 * Last Modified: 04/03/2018 * ******************************************************************************/ #ifndef WAG_H #define WAG_H #include "mbed.h" #include "io_pins.h" #include "analog.h" #include "display.h" #include "laser.h" #include "stepper.h" #include "utility.h" //Station Constants #define STATION_A 0 #define STATION_B 1 //player constants #define GNOLLER 1 #define WHACKER 0 //Calibration status constants #define CALIBRATED 1 #define NOT_CALIBRATED 0 //delay times #define VOLLEY_DELAY 5 #define LASER_DELAY 0.125 void gnoll(); #endif