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 ????
Finding version ---- modules of given uPython
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Finding version ---- modules of given uPython
If you issue
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.
Code: Select all
>>> import lcd160cr
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Finding version ---- modules of given uPython
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).
Re: Finding version ---- modules of given uPython
> available MicroPython mdules
And they are already in the OS ?
I.E. Don't need to be downloaded ?
Thank You !
And they are already in the OS ?
I.E. Don't need to be downloaded ?
Thank You !
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Finding version ---- modules of given uPython
Code: Select all
>>> help('modules')
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).