Refer to the UiFlow2 Web IDE Tutorial to learn the basic workflow of using UiFlow2, and complete the installation of the M5Burner firmware flashing tool.
Download the firmware compatible with NanoC6 in M5Burner.
Burn button for the UiFlow2 firmware corresponding to NanoC6, select the corresponding device port, and click Start.
Next to start flashing.
Configuration information description:
Burn successfully, click here to return appears, flashing is successful. Reset the device at this point.
Configure option, and modify the settings according to the on-screen prompts.
NanoC6 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: when the RGB indicator on the front of the NanoC6 lights up green, the device is successfully connected to the network. If the RGB indicator lights up blue, the device is not connected to the network. In this case, check whether the Wi-Fi name and password entered during firmware flashing are correct, modify them through the Configure option in M5Burner, and flash the firmware again.
Access Code: click WebTerminal in the lower-left corner of the UiFlow2 Web IDE interface, select the serial port for NanoC6 in the dialog box, then click Connect to open the serial monitor, where you can view the currently generated valid Access Code. (Note: If the corresponding information is not displayed, click the Soft Reset button to perform a soft reboot.)
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 NanoC6 to UiFlow2.
NanoC6 device on the Select Device page, then click Confirm to enter the UiFlow2 programming interface.
Visit uiflow2.m5stack.com to open the UiFlow2 Web IDE, and connect NanoC6 to the computer with a USB Type-C cable.
Click 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 for NanoC6 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.