Dan Ludowise
/
location_puck
my first puck
main.cpp@0:b026a8341c65, 2015-01-12 (annotated)
- Committer:
- dludowise
- Date:
- Mon Jan 12 22:16:41 2015 +0000
- Revision:
- 0:b026a8341c65
My first puck
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dludowise | 0:b026a8341c65 | 1 | #include "Puck.h" |
dludowise | 0:b026a8341c65 | 2 | |
dludowise | 0:b026a8341c65 | 3 | Puck *puck = &Puck::getPuck(); |
dludowise | 0:b026a8341c65 | 4 | |
dludowise | 0:b026a8341c65 | 5 | int main(void) { |
dludowise | 0:b026a8341c65 | 6 | puck->init(0xBEEF); |
dludowise | 0:b026a8341c65 | 7 | while(puck->drive()); |
dludowise | 0:b026a8341c65 | 8 | } |