Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API nRF51822
Fork of Puck by
Diff: Puck.h
- Revision:
- 17:23a05bd2fe2b
- Parent:
- 16:fb8678ee25b0
- Child:
- 18:4c95a470d778
--- a/Puck.h Fri Aug 01 13:31:46 2014 +0000
+++ b/Puck.h Fri Aug 01 14:15:25 2014 +0000
@@ -21,7 +21,8 @@
std::vector<CharacteristicWriteCallback>* callbacks;
} CharacteristicWriteCallbacks;
-/** Puck class. Abstracts away much
+/**
+ * @brief A library for easier setup and prototyping of IoT devices (pucks), by collecting everything that is common for all pucks in one place.
*
*/
class Puck {
@@ -330,7 +331,7 @@
*
* Example:
* @code
- * while (puck->drive) {
+ * while (puck->drive()) {
* // Do stuff
* }
* @endcode
