Example program for BLE devices using updated Puck library.
Fork of location-puck by
Diff: main.cpp
- Revision:
- 13:0f04dc5f14af
- Parent:
- 10:970a9922952b
--- a/main.cpp Fri Feb 27 18:14:35 2015 +0000
+++ b/main.cpp Mon Mar 09 14:14:34 2015 +0000
@@ -14,12 +14,12 @@
* limitations under the License
*/
+// Remove the log level define in production. It will prevent your mbed from entering low power modes.
#define LOG_LEVEL_INFO
#include "Puck.h"
Puck* puck = &Puck::getPuck();
-
int main(void) {
puck->init(0xBA55);
while(puck->drive());
