diff --git a/README.md b/README.md index a8712ad..7a7acdf 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ from jnius import autoclass Hardware = autoclass('org.renpy.android.Hardware') print 'DPI is', Hardware.getDPI() -Hardware.accelerometerEnable() +Hardware.accelerometerEnable(True) for x in xrange(20): print Hardware.accelerometerReading() sleep(.1)