Control library for the Sparkfun Entertainment Trackballer breakout board.
Diff: trackballer.cpp
- Revision:
- 5:0abcaea1fb07
- Parent:
- 4:3d1791d6608a
- Child:
- 6:c0ebd0f8f873
--- a/trackballer.cpp Sat Feb 19 19:54:58 2011 +0000 +++ b/trackballer.cpp Sat Feb 19 19:57:07 2011 +0000 @@ -58,7 +58,7 @@ /******************/ -void trackballer::getDirection(float &xPosition, float &yPosition, char &button) +void trackballer::getState(float &xPosition, float &yPosition, char &button) { _buttonState = _buttonPin->read();