bbcmicrobit / micropython

Port of MicroPython for the BBC micro:bit
https://microbit-micropython.readthedocs.io
Other
595 stars 287 forks source link

docs: Update accelerometer page with better range info. #733

Closed microbit-carlos closed 2 years ago

microbit-carlos commented 2 years ago

Correct old notes about not being able to change the range. Remove note already mentioned in the header, and move to header note about needing to call an accelerometer function regulartly.

Indicate in the header the default range so that it can be removed from each function description.

Use :param: and :return: in the function descriptions.

microbit-carlos commented 2 years ago

@microbit-mark could you give this a quick review when you get a chance?

Review URL: https://microbit-micropython--733.org.readthedocs.build/en/733/accelerometer.html

microbit-mark commented 2 years ago

LGTM Thanks @microbit-carlos