From 8e2564ccc88847ef65bf5053bd19e2ee6b98b669 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 2 Jul 2013 09:20:35 +0200 Subject: [PATCH] update README.md. closes #64 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)