Wens_Test

Dependencies:   Puck mbed

Committer:
bundy62
Date:
Sat Jan 24 10:50:24 2015 +0000
Revision:
0:c7195e2cbb8d
Wens Test Program using the puck library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bundy62 0:c7195e2cbb8d 1 #include "Puck.h"
bundy62 0:c7195e2cbb8d 2
bundy62 0:c7195e2cbb8d 3 Puck *puck = &Puck::getPuck();
bundy62 0:c7195e2cbb8d 4
bundy62 0:c7195e2cbb8d 5 int main(void) {
bundy62 0:c7195e2cbb8d 6 puck->init(0xBEEF);
bundy62 0:c7195e2cbb8d 7 while(puck->drive());
bundy62 0:c7195e2cbb8d 8 }