Press buttons to activate the LED.
Dependencies: BLE_API nRF51822
Fork of Puck by
Diff: Puck.h
- Revision:
- 17:23a05bd2fe2b
- Parent:
- 16:fb8678ee25b0
- Child:
- 18:4c95a470d778
diff -r fb8678ee25b0 -r 23a05bd2fe2b Puck.h --- 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