Final Project files for mBed development.

Dependencies:   m3pi mbed

Revision:
17:c72c092fcdf7
Parent:
15:14d4e7021125
Child:
18:eab7b0e89398
--- a/main.h	Sun Nov 30 21:52:58 2014 +0000
+++ b/main.h	Mon Dec 01 00:41:04 2014 +0000
@@ -20,6 +20,18 @@
 #define DRIVE_RATE  1/50
 
 /**
+ * @brief get values of next PostScript instruction.
+ *
+ * @param       buf     Buffer with PS instructions.
+ * @param       x       Pointer to storage for x coordinate.
+ * @param       y       Pointer to storage for y coordinate.
+ * @param       draw    Pointer to storage for draw/move boolean.
+ * 
+ * @return              Success or failure code.
+ */
+int retrieve_inst(char *buf, int *x, int *y, int *draw);
+
+/**
  * @brief Driver forward.
  *
  * @param[in]   amt     Amount to drive forward. In centimeters.