How to Import Mixly Library
Download the Mixly software
Here we provide you with the Mixly0.998 Win(7.9) software. You can download the software from the link below:
Download other version systems from the link below:
Downloaded the Mixly software package, you should get it as below:
Import the Library
2) Unzip the library package we provided, keyestudio or KS_EasyPlug
You can download the library from the link below:
We take the keyestudio library as an example:
In the Mixly window, click Import, then select to import the library keyestudio.
You can also double-click to open the library keyestudio.
3) If import the custom library successfully, you should see success prompt is displayed on the Mixly blocks interface.
Now, import the keyestudio library successfully.
You can use the same method to import the keyes_easy plug library.
Pay special attention to:
How to add the necessary libraries for complicated projects？
Sometimes we need to call the library when compiling the code, so how should we add the code libraries? Like IRremote.h
It is very simple. You can follow the instructions below.
To begin with, you can right-click Mixly icon to open the file location. Inside the Mixly directory, find the arduino-1.8.5 folder.
Open the arduino-1.8.5 folder, you should see the libraries folder.
Just place the library IRremote folder you need inside the arduino libraries folder. Shown below.
Next, ready to play your amazing Mixly project!
Try Your First Mixly Project - Saying Hello World
Next, we will take our EASY Plug control board as an example:
Open the Program
You can directly drag the blocks out to make it.
Go to the “Control” , drag out the setup block.
Next, go to “SerialPort” , and drag the Serial baud rate to 9600 into the setup block.
Then go to “SerialPort” again, and drag the Serial printIn (hex) to the blank area.
Finally, we add a text that want to print out. Go to “Text” and drag the text block into Serial printIn (hex) block. Change the character you want to show.
Now, the code is complete. You can save as Mixly file or directly upload to your control board and open the monitor to see the test result.
In fact, we have provided you with Mixly file, so you can directly open the file.
Click Open to open your first program Hello World. Follow the steps below.
In fact, you can double click or directly drag the program to open Hello World. Then you should see the Blocks code, shown below.
After that, select the proper Board and Port. Upload the code to your EASY Plug control board.
Displaying Hello World
Check Arduino Code
What’ more, you can also click to check the Arduino code on the right side. Amazing! So powerful the Mixly blocks code is!
Is it more easy and simple to play the Mixly projects? Try your first Mixly blocks projects right now!