Page 1 of 1

MicroPython Docs?

Unread postPosted: 21 Sep 2020, 13:07
by TomL12953
I just installed ndless on both my CX CAS and my CX II CAS. It works great but now I need to know how to use MicroPython. What libraries does it come with? I know it has math and cmath but not time or datetime. What other libraries does it have for graphics, real-time clock, etc.? Is there a doc for using it? I've tried help("modules") but help isn't implemented.

Re: MicroPython Docs?

Unread postPosted: 21 Sep 2020, 14:00
by critor
Just import nsp for graphics.

You may also move to KhiCAS CX with a more up to date and expanded Micropython built in :
https://www-fourier.univ-grenoble-alpes ... khicas.zip
Use
menu
12 2 to switch it between :
  • Xcas syntax mode
  • Xcas in 2 Python syntax compatibility modes
  • Micropython mode
help('modules') works and reports a lot of things.