Is M5Cloud down?



  • @m5mpy

    No problem for the update. I'm sure they will do all they can to get it working ASAP.....



  • Back online and running again. Thx



  • @m5mpy Great to hear... thanks for updating status....



  • @jimit 在 Is M5Cloud down? 中说:

    @m5mpy Great to hear... thanks for updating status....

    you use cloud? how does it compare with arduino ide or ... platformIO
    Calun should pop in any time now ;)



  • @daslolo @M5MPy

    Hi Daslolo,

    Unfortunately I haven't had time to use the M5Cloud to any great extent.... now I have the software flashed to an M5 again I will check it out...

    Perhaps M5MPy can respond ? M5Cloud vs. arduino ide vs. platformIO.

    Over the air (wireless) updating of the software is cool (M5Cloud).....



  • @jimit
    @daslolo

    MicroPython VS Arduino is no comparison of equals

    MPY is running FreeRTOS as uOS and so you have total different opportunities.
    Best of these for my IoT Application will be Over the Air updating with low amount of traffic.
    As only packages of text (code) will be sent; the traffic is low and update faster than Arduino USB connection (even without compiling).

    So I look forward for an adventure switching from Arduino to MicroPython with M5STACK,

    If you ever considered running multiple thread or tasks - for sure give it a try.
    If you just want to learn something new, the same. ;-)

    Cheers



  • ESP32 Arduino IDF also run's RTOS.
    Check the main.cpp on arduino-idf:

    void loopTask(void *pvParameters)
    {
    setup();
    for(;;) {
    micros(); //update overflow
    loop();
    }
    }

    extern "C" void app_main()
    {
    initArduino();
    xTaskCreatePinnedToCore(loopTask, "loopTask", 8192, NULL, 1, NULL, ARDUINO_RUNNING_CORE);
    }

    You can create tasks on any core you chose by calling RTOS xTaskCreatePinnedToCore function anywhere in your arduino sketch.

    You can also change the tasks priorityes, define stack size, use queues, semaphores, mutexes, and all other RTOS features. For OTA you have options to chose from:

    • Local OTA (upload the firmware without usb cable while M5 is on local network)
    • Remote OTA: Set the M5 to auto update once a condition is met (like a new firmware version available) like i did on my MultiApp Advanced: http://forum.m5stack.com/topic/194/m5stack-multiapp-advanced-firmware . This way you can update the M5Stack even if is on the other side of the planet.

    All this without the overhead of an interpreter...



  • @calin
    ok.

    Good point, I came from ATMega and ARM Arduino with "Standard" Arduino knowledge and was totally surprised that M5STACK MicroPython is running FreeRTOS.

    I will also review your links.

    Just new to MicroPhyton, I just collected some code pieces in the web to get a "Clock" background task coded with RTC and NTP Sync by just some code lines.
    BTW. No flickering on the display etc.



  • posted my first MicroPython Code here :

    http://forum.m5stack.com/topic/197/micropython-clock-task-with-rtc-and-ntp-sync

    @daslolo
    So, feel free to compare by yourself with Arduino.
    The "Clock" code does it all for me on displaying time (and date if needed), and if synced to NTP with green or red time digits. Just as a task in the background.



  • Concise code for sure. I need all the speed I can get so it'll be Arduino for now.
    I'm surprised you wouldn't see any flicker on the display since you print every frame, also surprised that there is no clearScreen preceding the print. I'm thinking the python print has a background.


登录后回复
 

与 M5Stack Community 的连接断开,我们正在尝试重连,请耐心等待