Added a custom wait function to enable interrupts
Fork of m3pi by
Diff: m3pi.h
- Revision:
- 9:35c3c0fa2416
- Parent:
- 8:4b7d6ea9b35b
diff -r 4b7d6ea9b35b -r 35c3c0fa2416 m3pi.h --- a/m3pi.h Thu May 12 13:26:37 2011 +0000 +++ b/m3pi.h Tue Apr 08 16:43:07 2014 +0000 @@ -85,6 +85,8 @@ // Public functions public: + int tail_flag; + /** Create the m3pi object connected to the default pins * * @param nrst GPIO pin used for reset. Default is p23 @@ -217,6 +219,8 @@ * @param int The character to send to the 3pi */ int print(char* text, int length); + + void wait_10ms (int time); #ifdef MBED_RPC virtual const struct rpc_method *get_rpc_methods();