Get started with MicroPython
Control commands:
CTRL-A
CTRL-B
CTRL-C
CTRL-D
CTRL-E
CTRL-F
For further help on a specific object, type help(obj)
For a list of available modules, type help('modules')
-------------------------------------------------------
------------------------------------------------------
When you type help('modules') at the prompt, it displays all available Micropython modules.
------------------------------------------------------
>>> help('modules')
__main__
array
binascii
builtins
errno
gc
hashlib
Plus any modules on the filesystem
------------------------------------------------------
When you import a module and type help() with the module as the object, you can query all the
functions that the object supports.
------------------------------------------------------
>>> import sys
>>> help(sys)
object <module 'sys'> is of type module
__name__ -- sys
path -- ['', '/flash', '/flash/lib']
argv -- ['']
version -- 3.4.0
version_info -- (3, 4, 0)
implementation -- ('micropython', (1, 10, 0))
platform -- xbee3-Zigbee
byteorder -- little
maxsize -- 2147483647
exit -- <function>
stdin -- <io.FileIO 0>
stdout -- <io.FileIO 1>
stderr -- <io.FileIO 2>
modules -- {}
print_exception -- <function>
-------------------------------------------------------
Digi XBee® 3 Zigbee® RF Module
-- on a blank line, enter raw REPL mode
-- on a blank line, enter normal REPL mode
-- interrupt a running program
-- on a blank line, reset the REPL
-- on a blank line, enter paste mode
-- on a blank line, enter flash upload mode
io
json
machine
micropython
os
struct
sys
Micropython help ()
time
uos
ubinascii
ustruct
uerrno
utime
uhashlib
xbee
uio
ujson
umachine
40
Need help?
Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?