Library to allow your mbed device to communicate with the Android ADK.
Revision 2:0d8581013b28, committed 2011-07-12
- Comitter:
- richbayliss
- Date:
- Tue Jul 12 16:11:13 2011 +0000
- Parent:
- 1:ed3873f4f745
- Child:
- 3:ca0516beb781
- Commit message:
Changed in this revision
AndroidAccessory.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/AndroidAccessory.h Tue Jul 12 14:42:12 2011 +0000 +++ b/AndroidAccessory.h Tue Jul 12 16:11:13 2011 +0000 @@ -33,30 +33,28 @@ bool switchDevice(int device); -/** AndroidAccessory class, using Peter Barrett's USBHost library - * - * Example: - * @code - * class Demokit : public AndroidAccessory - * { - * public: - * Demokit() : AndroidAccessory (3,3, - * "Google, Inc.", - * "DemoKit", - * "DemoKit Arduino Board", - * "1.0", - * "http://www.android.com", - * "0000000012345678") {}; - * virtual int callbackRead(u8 *buff, int len); - * virtual void setupDevice(); - * virtual void resetDevice(); - * void switchchk(); - * private: - * - * u8 sw1b,sw2b,sw3b; //swich data - * }; - * @endcode - */ +/** Library to allow your mbed device to communicate with the Android ADK. + * + * Information about the ADK here: http://accessories.android.com/ + * + * Example: + * @code + * class Demokit : public AndroidAccessory + * { + * public: + * Demokit() : AndroidAccessory ( 3, + * 3, + * "Google, Inc.", + * "DemoKit", + * "DemoKit Arduino Board", + * "1.0", + * "http://www.android.com", + * "0000000012345678") {}; + * virtual int callbackRead(u8 *buff, int len); + * virtual void setupDevice(); + * virtual void resetDevice(); + * @endcode + */ class AndroidAccessory { public: