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.
Fork of location-puck by
Diff: main.cpp
- Revision:
- 13:0f04dc5f14af
- Parent:
- 10:970a9922952b
diff -r 270d2160cc13 -r 0f04dc5f14af main.cpp
--- 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());
