Skip to content

Commit

Permalink
Fix missing brackets on two accelerometer methods
Browse files Browse the repository at this point in the history
  • Loading branch information
moreati committed Mar 11, 2016
1 parent 8b3b301 commit 17705b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/microbit_micropython_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ The accelerometer is accessed via the ``accelerometer`` object::
# last call.
accelerometer.was_gesture(name)
# return a tuple of the gesture history. The most recent is listed last.
accelerometer.get_gestures
accelerometer.get_gestures()
# clears the gesture history.
accelerometer.reset_gestures
accelerometer.reset_gestures()

The recognised gestures are: ``up``, ``down``, ``left``, ``right``, ``face up``, ``face down``, ``freefall``, ``3g``, ``6g``, ``8g``, ``shake``.

Expand Down

0 comments on commit 17705b5

Please sign in to comment.