UIFlow 1.4.5



  • I burned the Atom Matrix with software 1.4.5, it works with SSID and password. And I can also set it to wifi and see that it is logged on the router.
    But where can I find the API key to program online!?



  • Connect the atom to the computer and connect to it with the terminal program, system information along with the API key are displayed during startup. The second option is to keep the matrix button pressed while starting until the colors change pulsatingly. And release it when it is pink / purple. then the atom will launch its access point. Connect to his network via 192.168.4.1 address and then in the browser you will see the API key and you will be able to choose the network to which you will connect.



  • Start a terminal session with your Atom I usually use
    screen "device port" 115200
    reboot your stick and the API key will appear in the boot message



  • @robalstona beat me to it, nice tip on the button hold



  • there are other modes depending on with color you relase button while booting. App mode (run main.py), uiflow web, uiflow usb, and web config. You can see colors and modes in boot.py



  • I love seeing the graphic icons of the two new boards they look really cool in the simulator. I am sure you are already working on this but there needs to be a way, after selecting the leds in the simulator, to save a page of the toggled leds for the atom and then play back or trigger those pages. I picture something like the emoji interface you had in previous releases would be helpful to bring back since it had multipage options for crerating animations. alt text
    I imagine much of the code used used on the 5x5 microbit screen would be helpful if ported to UIflow. Things like the various 5x5 fonts they have avaiable as well as the various scrolling routines https://makecode.microbit.org/#editor FONTS. I know this is just the beginning and it already looks great but I thought I would state the obvious benefit of adding in some of this capability in future releases. thanks for the new release it's always fun to see what new tools you've made for us.



  • @jpilarski agreed. I asked about something like this for the neoflash and NeoFlashC



  • Is there also a ne UiFlow Version that support ATOM? My Version is 1.0.7 and does not allow to program ATOM



  • @m5stickfreakler You mean offline version?



  • @ajb2k3 said in UIFlow 1.4.5:

    @m5stickfreakler You mean offline version?

    Yes I mean offline version :-)



  • hmm small bug with Button ? At Atom Matrix
    0_1582835335261_4d24a24c-8db6-4d60-9bdd-685859588d26-image.png
    0_1582835349305_5ab96e0b-3435-4824-ad59-629dec442d46-image.png

    There is only one button :D



  • @mati thanks your feedback , we will fix it as soon as possible



  • @robalstona said in UIFlow 1.4.5:

    Connect the atom to the computer and connect to it with the terminal program, system information along with the API key are displayed during startup. The second option is to keep the matrix button pressed while starting until the colors change pulsatingly. And release it when it is pink / purple. then the atom will launch its access point. Connect to his network via 192.168.4.1 address and then in the browser you will see the API key and you will be able to choose the network to which you will connect.

    Thank you it works :-)

    Greetings skink



  • @m5stack Can you get the RGB LED blocks removed from the Hardware section of blocks and move the to the Base/Module section please?



  • why would people above say that pink/purple is the config mode? after flashing 1.4.5 for me the yellow mode is the config mode...

    after flashing 1.4.5 neither online (breathing green mode) nor offline ide works for me... absolutely not...

    usb mode (blue light) does nothing for me...

    i could only flash firmware and that's about it... pretty useless, no? still a facepalm for me at this point...

    and btw what is "app run mode"?



  • @illusion were you able to connect to wifi? offline wont work yet as the link for uiflow desktop hasn't been updated to 1.4.5 on the website, You cant upgrade it within the software either



  • @illusion said in UIFlow 1.4.5:

    and btw what is "app run mode"?

    When you start atom in app mode after boot a file main.py is running. In this file you can save your program which will be run. You can save your program from UiFlow by "Download" button/icon. Then your program should be saved as main.py and after restart device should be run it. But i did not tested by this way on atom (on StickC works as i wrote up). I wrote this file by another software.



  • Some issues about UIFlow 1.4.5/1.4.5.1 on Atom Lite/Matrix :

    • using CLI (Command-Line-Interface) tools (on Linux), 'screen /dev/ttyUSB0 115200' on Linux works, showing 'MicroPython v1.11-301-gd0880874d-dirty on 2020-03-13';
    • but 'rshell' and 'ampy' don't work at all (these tools are useful to manage files on MicroPython microcontrollers). Exemple of error message : 'ampy.pyboard.PyboardError: could not enter raw repl';
    • so how to copy files to/from the internal flash memory of Atom Lite/Matrix ? I don't see webrepl, ftp server, etc, in the 1.4.5/1.4.5.1 firmware.

    While using :

    • Atom Lite/Matrix with pre-installed firmware (MicroPython v1.12-36-gf68fe753b-dirty on 2020-01-14), 'rshell' and 'ampy' work without problem;
    • M5StickC with UIFlow 1.4.5/1.4.5.1, 'rshell' and 'ampy' work too.


  • Could you try uPyCraft. I use them on windows system and i can transfer files to/from Atom Lite/Matrix with burned Uiflow firmware. Under linux where i use Linux Mint 19 uPyCraft i cannot run it (problem with installing proper libraries needed to run)



  • upyloader is another good solution for transferring files to the flash. Ampy hasn't worked for me for a long while