[Microbit-Python] Python Temperature and Light Sensor Commands for micro:bit

Tim Golden mail at timgolden.me.uk
Wed Feb 8 06:25:27 EST 2017


On 08/02/2017 11:06, Nevil Hunt wrote:
> I notice all commands in ReadTheDocs have the format
> microbit.temperature
>
> rather than
>
> temperature()

Fairly sure that's a Sphinx artefact because the add_module_names 
setting is at its default True value in conf.py:

https://github.com/bbcmicrobit/micropython/blob/master/docs/conf.py#L93

Whether that's intended or not, I don't know; but it should be easy to 
change

TJG


More information about the Microbit mailing list