EE149
/
FinalProject
Final Project files for mBed development.
Diff: main.h
- Revision:
- 10:94b068b2ce1d
- Parent:
- 9:3a0433c391cb
- Child:
- 11:a30f30d3066e
diff -r 3a0433c391cb -r 94b068b2ce1d main.h --- a/main.h Sat Nov 15 05:07:24 2014 +0000 +++ b/main.h Sat Nov 15 23:03:06 2014 +0000 @@ -1,12 +1,12 @@ /** - * @file project.h + * @file main.h * @brief Main header file for includes and whatnot * for the other project files. * @author John Wilkey */ -#ifndef _PROJECT_H -#define _PROJECT_H +#ifndef _MAIN_H +#define _MAIN_H #include "mbed.h" #include "m3pi.h" @@ -54,6 +54,20 @@ int left (float deg); /** + * @brief Enable pen motion. + * + * Note that at the moment, for simplicity, this method just activates an LED + * on the expansion board to indicate that the pen should be in DOWN mode. + */ +void pen_down(); + + /** + * @brief Raise pen + */ +void pen_up(); + + +/** * @brief Controller decision logic. * * Decide what to do next based on the status of the drawing so far.