Update README.md

This commit is contained in:
erz05 2015-11-01 19:33:50 -08:00
parent 776c514ebb
commit b858d7cbb2

View file

@ -62,15 +62,18 @@ joyStick.setButtonColor(Color.RED);
//Get Power
joyStick.getPower();
//Get Radians
joyStick.getRadians();
//Get Angle
joyStick.getAngle();
//Get Angle in Degrees
joyStick.getAngleDegrees();
//Set JoyStickListener
joyStick.setListener(this);
//JoyStickListener Interface
public interface JoyStickListener {
void onMove(double radians, double power);
void onMove(JoyStick joyStick, double angle, double power);
}
```
<H2>License</H2>