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
main.cpp@9:28eb877be5f8, 2014-07-23 (annotated)
- Committer:
- sigveseb
- Date:
- Wed Jul 23 14:47:06 2014 +0000
- Revision:
- 9:28eb877be5f8
- Parent:
- 8:54535e2f4098
- Child:
- 10:970a9922952b
Update to use new puck lib
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sigveseb | 9:28eb877be5f8 | 1 | #define LOG_LEVEL_INFO |
| sigveseb | 9:28eb877be5f8 | 2 | #include "Puck.h" |
| cristea | 0:f4fbeaabdff5 | 3 | |
| sigveseb | 9:28eb877be5f8 | 4 | Puck* puck = &Puck::getPuck(); |
| cristea | 5:8ccb1cd6694d | 5 | |
| cristea |
2:67d603617000 | 6 | |
| cristea | 4:4324d5acd5d8 | 7 | int main(void) { |
| sigveseb | 9:28eb877be5f8 | 8 | puck->init(0xBA55); |
| sigveseb | 9:28eb877be5f8 | 9 | while(puck->drive()); |
| sigveseb | 9:28eb877be5f8 | 10 | } |
