Control library for the Sparkfun Entertainment Trackballer breakout board.
Diff: trackballer.h
- Revision:
- 5:0abcaea1fb07
- Parent:
- 3:000eee36525e
- Child:
- 6:c0ebd0f8f873
--- a/trackballer.h Sat Feb 19 19:54:58 2011 +0000 +++ b/trackballer.h Sat Feb 19 19:57:07 2011 +0000 @@ -28,7 +28,7 @@ trackballer(PinName button, PinName right, PinName down, PinName left, PinName up, PinName red, PinName green, PinName blue, PinName white); - void getDirection(float &xPosition, float &yPosition, char &button); + void getState(float &xPosition, float &yPosition, char &button);