Getting Started with Mixly1.0
- 1 Download
- 2 Start your first program---Saying Hello World！
- 3 More Resources
There are two kind installation packages provided for you in the following links:
Mixly1.0 for Win 7/8/10：https://fs.keyestudio.com/Mixly1-Windows
Mixly1.0 for Mac：https://fs.keyestudio.com/Mixly1-MACOS
We will take Mixly1.0 (Windows version) as example, and the installation method of MAC version is similar with it.
Look at the main interface of Mixly 1.0, it includes five parts, that is, blocks selection, code edit, text code (hidden), system function and message prompt area. As shown below.
There are different blocks in the block selection area, you could finish programming via them.
Code Edit Area
Design program by combine the blocks you need.
- Drag the useless code to the recycle bin at the lower right corner
- Move the code to the block selection area
- Right click the block to delete, or tap “Delete” and “Backspace” on keyboard.
Zoom in and out program
Of course, you could zoom in and out program by the scroll wheel of mouse
Select program via mouse, then press “Ctrl+C” and “Ctrl+V” to replicate block.
Mixly 1.0 supports four languages: English、Español (Spanish)、中文简体(Chinese Simplified)、中文繁体(Chinese Traditional).
System function area:
As shown below:
General function: New, open, save and save as function. The saved format of the code is .mix.
Enable Mixly 1.0 software and click “Open” to find *.mix file to reach the saved document, or you could double-click *.mix file or drag it to the code edit area.
Compile & Upload
After programming, click “Compile” to check errors in the code.
If display “Compile failed!”, you need to look over if code is wrong.
If popping up “Upload failed!”, unplug and connect USB cable to address this problem.
If “Upload success” appears, which means the code is uploaded successfully on the board.
Control board & COM port：
Click drop-down triangle to see the options for distinct control boards, select the board you use.
Next to choose the corresponding COM port which is the communication path between PC and control board.
Monitor only works with the blocks of serial port, it is used to display the output variables and value of sensors.
There is a scroll button beside the monitor, drag this button to magnify the whole page.
Start your first program---Saying Hello World！
Next, we will take example as Arduino V4.0 control board：
Link control board with computer by USB cable.
(2)Open Program Code
The sample code ”Hello World” is provided for you, you could directly open it.
A.Click”Open” to find sample code“Hello World”, as shown below:
In fact, open it directly( click “Mixly 1.0 for keyestudio”package ->“sample”->“Arduino”->07 Serial Port ->“Hello World”) and drag to code edit area, then switch language.
B.Then tap “Compile”, if compile successfully, the code is approved well, enter the next step.
C.Connect control board to your PC via USB wire, choose the control board type and COM port(Right-click “Computer”-> “Properties”-> “Device Manager”, then you could see COM port at the “Other devices”or Port " or “Port（COM and LPT)”), upload the program code to your control board. (illustrate by COM19)
Upload program successfully.
(3)Display Hello World!
Then open serial monitor and set baud rate to 9600, “Hello World!” is shown on monitor.
Check Arduino Code：
You could design code by yourself. A.Click“Control” to find “set up” block and drag it to the edit area.
B.Click “Serial port”, move “Serial baud rate 9600”block into “set up” block.
C.Select “Serial port” to drag “ Serial println” out.
D.Add a text to be printed, click “Text” to find “hello” block and combine it with “serial println” block, then change “hello” into“Hello,world!”
E.Enter “Control” to add delay block in editing area, delay time can be set freely, set to 100ms.
Upload code, click “Save as” to save and name this file. You could upload on the control board directly. Then see the result on serial monitor.
On the other hand, if you intend to delete some code in editing area, just right-click to select the block to be deleted, or directly put it into recycle bin.
- Download the Mixly1: