@tialm The problem is that the firmware is constantly changing as they work to ix bugs in the firmware. They are working to get it up to the same level as mainstream Micropython but its slow going.
I'm currently digging through demo and examples (that I'm creating) to find the API's but its slow going due to the rapidly changing firmware.
@zhufu86 Hey, I came along to look for python support for the sh200q. Seems that you use it in python with the hardware module.
May sound stupid but I'm unsure where to find the module... (Very new to m5Stick / m5Stack) I am using the m5Stick.
Best regards,
klaas
Sorry! @ajb2k3 I have not forgot about this, I am a bit withou time, a lot to do for work right now!
But I'll sketch up an example soon!
Thank you for the help
I found that, in sources
https://github.com/m5stack/M5Stack_MicroPython/blob/master/MicroPython_BUILD/components/micropython/esp32/modules/m5flow/units.py
There is ENV sensor object. But it does not work, because there is no dht12 and bmp280 modules.
I am not sure if developers test their devices on micropython.
May be, it will be better to use base micropython and add m5 drivers?
This library worked for me
https://github.com/dafvid/micropython-bmp280
addr=0x76
Hi @Luca-Innocenti I presume you mean twitter? I haven't heard of tweepy but I think a good way to do this would be to use the MQTT blocks if you are using UIFlow and then connect to a service like IFTT or Thingspeak with webhooks to connect to twitter. To add new libraries to the m5stack you can use Ampy or the M5stack plugin for VScode. See one of the two following videos for how to get setup.
Ampy
https://www.youtube.com/watch?v=rvP3GixWG1Y&t=109s
VScode
https://www.youtube.com/watch?v=Y9pOWgsNgKk&t=13s
I placed my stuff into the /apps folder, e.g. /apps/demo.py. On startup you can then press the button in the middle to enter the app list, choose your app demo and from there on it will be started automatically when you reboot.
@heybin
Thank you.
Yes I noticed Lobo MicroPython had been no updates for long time.
But I saw https://github.com/m5stack/M5Stack_MicroPython had been updated continuously.
I will go for it and give it a try.
@ipodlux said in Is the M5Cloud project on io.m5stack.com still alive:
I stumbled on the webpage and looked at the github documentation. There is enough for coding question is last post is dated more than 1 year ago, is the project still on?
No, it is depreciated and replaced with uiflow.
@world101 said in Uploading and running micropython code...?:
One thing I just noticed. If I run an ampy command (ampy -p /dev/tty.SLAB_USBtoUART -b 115200 ls) before doing the screen session, I get the REPL prompt every time without needing to press Ctrl+C. Running an ampy command must break the m5stack out of the currently running main program loop, which is what Ctrl+C does anyway. Just wanted to provide that additional detail.
Strange, didn't work for me.