Where are the docs for MicroPython with M5Stack?
-
For example, I know I can turn the LED on/off with M5Led, but where is this documented? I can't even see any reference to it on the M5Stack github
m5stack.M5Led.module
says
'hardware._led'
Where would that be?
It would be nice to have some proper stuctured docs, or at least some source to look at, to see what is available
-
Here is my work in progress documents. they are free to download until they are finished.
https://github.com/Ajb2k3/UIFlowHandbookIt is taking me a long time to find the seperate api's.
Which LED are you trying to turn on and off?The API calls in micropython are
M5Led.on()
and
M5Led.off() -
I agree, it seems there is a lot of documentation for MicroPython missing.
What is the recommended setup? Maybe Visual Studio Code with VS-Code Plug-In.
But now it's up and running, a lot more questions appear:
- How do I switch from USB to WiFi mode? (epecially if I used UIFlow online as first step)
- Will WiFi be automatically connected even in USB mode?
- How do I get the WiFi status? How do I change it and re-connect?
- Why do I have to set the USB mode? M5Burner can connect over USB in WiFi mode, why can't mpy?
- When the program is running on my Core2 I need to reset it to run again. Is that standard process?
- Is there a debug console? How to use it (write to and see output)?
And for development we need more functionality. What libraries are included?
- Touch display input?
- Web-server?
- web-sockets?
- QR-code generation?
- File management (on SD card)?
There are some nice Arduino examples, but MicroPython is completely missing.
How do I integrate a 3rd party MicroPython library?
I think we would really love to see some more documentation...
Cheers
Mike -
@mb I will add your suggestions to my todo list. I'm currently working on the E Ink devices documentations which take in Arduino, Micropython and UIFlow.
-
there is a short explanation:
https://github.com/m5stack/UIFlow-Code/wiki/Advanced
At the bottom of site you have links to detailed documentation of some modules/devices.
Probably it is outdatet and havent described new modules and devices.
-
This is still the case. I can't find any information on how to use the M5 Python Library.
- Where does it live? I've seen a GitHub repo, but it mainly says C++ or Arduino. As far as I can tell, this is not good for me.
- Why can't I import it with pip? It's also not on https://pypi.org/. Why not if it is becoming a major player in the Pi world?
- What can I do with that library?
- What functions does it contain?
None of this stuff is easy to find, making this product unusable for use.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login