A compilation of code from different sources to provide support for a Playstation 3 controller via bluetooth on the m3pi.
Fork of mbed_TANK_PS3 by
Diff: Utils.h
- Revision:
- 1:ae49669c5e92
- Parent:
- 0:44619612f575
--- a/Utils.h Tue Jul 05 08:25:40 2011 +0000 +++ b/Utils.h Sun Dec 30 05:16:28 2012 +0000 @@ -1,3 +1,5 @@ +#ifndef UTILS_H +#define UTILS_H typedef unsigned char u8; typedef unsigned short u16; @@ -35,3 +37,4 @@ d[0] = (u8)(n >> 8); d[1] = (u8)n; } +#endif \ No newline at end of file