Finding version ---- modules of given uPython

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
hitsware
Posts: 12
Joined: Wed Aug 26, 2020 2:51 pm

Finding version ---- modules of given uPython

Post by hitsware » Wed Sep 09, 2020 1:27 am

Newb ...
I have just got a PyBoard and would like to know what modules are loaded
..... What version ????
I.E. I have a lcdr160 with no response and don't know if I have the module ????

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Finding version ---- modules of given uPython

Post by pythoncoder » Wed Sep 09, 2020 5:37 am

If you issue

Code: Select all

>>> import lcd160cr
this should return without error. The lcd160cr driver is incorporated into recent builds of Pyboard firmware. If you get an import error I suggest you upgrade your firmware to a current version.
Peter Hinch
Index to my micropython libraries.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: Finding version ---- modules of given uPython

Post by rcolistete » Wed Sep 09, 2020 8:37 am

hitsware wrote:
Wed Sep 09, 2020 1:27 am
Newb ...
I have just got a PyBoard and would like to know what modules are loaded
...
To have a list of available MicroPython modules :

Code: Select all

>>> help('modules')
Last edited by rcolistete on Wed Sep 09, 2020 4:23 pm, edited 1 time in total.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

hitsware
Posts: 12
Joined: Wed Aug 26, 2020 2:51 pm

Re: Finding version ---- modules of given uPython

Post by hitsware » Wed Sep 09, 2020 4:21 pm

> available MicroPython mdules

And they are already in the OS ?
I.E. Don't need to be downloaded ?
Thank You !

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: Finding version ---- modules of given uPython

Post by rcolistete » Wed Sep 09, 2020 4:24 pm

Code: Select all

>>> help('modules')
lists the MicroPython modules included with the firmware. No need to download them.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

Post Reply