How To Add This Control To Your Project
Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the
Step #5) Press the
QR Code Generator
icon to add the control to your project
The QR Code Generator will create a QR Code with the text you enter. By default, the QR Code text is "EZ-Robot" and the QR Code Graphic is the same. If you use your phone's QR Code Scanner App to scan the graphic, it will say "EZ-Robot". This control works in conjuction with the Camera Control.
The Camera Control can be set to recognize QR Codes.
When you view the Camera Config, look under the Scripts tab and notice the QR Code Scripts.
You can specify a different script to execute for each QR Code that is recognized.
There is also the ability to create a script that will execute for every QR Code that is found, but not recognized within the list.
You may use this script to detect a web URL and open the web browser, as in the QR Code Example (Found under Examples Menu Bar Option).
In the Camera Control under the Camera Config's Script Tab, you will find a selection for Variables. The detected QR Code text will be stored in the specified variable.
The more text contained within a QR Code increases the resolution required for detection. This means, if your QR Code contains the letter "A", it will be much easier to detect than if it contained the word "Apple".
This is something to consider when creating custom QR Codes for your EZ-Robot Application. If you want the robot to detect the QR Code with ease, choose short QR Codes. We usually recommend using a single letter or number.
*Help: There are Example Projects for this control. Please look under "Examples" within EZ-Builder