Refer to the UiFlow2 Web IDE Tutorial to learn the basic workflow of using UiFlow2 and complete the installation of the M5Burner firmware burning tool.
Download the firmware compatible with PowerHub in M5Burner, as shown below.
Burn button for the corresponding firmware, select the corresponding device port, and click Start.
Next to start burning.
Configuration information description:
Burn successfully, click here to return appears, the burning is successful. Reset the device at this point.
Configure option, and modify the settings according to the on-screen prompts.
The device supports connecting to UiFlow2 via Access Code (over a wireless network) or USB (wired connection to the computer) for program deployment and debugging. Refer to the following tutorial steps for details:
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE.
Make sure the device is connected to the network and obtain the Access Code: click WebTerminal in the lower-left corner of the interface, select the serial port of PowerHub in the dialog box, click Connect, and open the serial monitor. You can view the currently generated valid Access Code and Wi-Fi connection status. (If the corresponding information is not displayed, click the Soft Reset button to perform a soft restart.)
Select Your Controller (displayed when entering for the first time) or the Controller button on the page to enter the Select Device page.
Connect Device, enter the access code and a custom device name, then click Confirm to connect PowerHub to UiFlow2.
Select Device page, select the connected PowerHub device and click Confirm to enter the UiFlow2 programming interface.
Select Your Controller (displayed when entering for the first time) or the Controller button on the page to enter the Select Device page.
Confirm.
WebTerminal button, select the serial port of PowerHub in the dialog box, and click Connect.
When the WebTerminal screen displays Connected to Serial Port!, the USB connection is successful.
After the device is connected to UiFlow2, you can drag Blockly blocks to edit the program.
After program editing is complete, click the Run Once button in the lower-right corner of the interface to run and test the program once. Click the Run Always button to download the program to the device.
You can also run once or download the program from the WebTerminal window.