IDE - Compiler Quick Start Guide
|Quick Start Guide|
So what is an IDE?
An IDE or an Integrated Development Environment is a software application in which all the developing is done.
Each of our IDEs is dedicated to one programming language: C, Basic and Pascal.
Our IDE is intuitive and easy to use and has a Windows based point-and-click environment.
With a detailed Help file, developing applications and working on projects is simple and straightforward.
The "Introduction" chapter (Help file) gives you an excellent overview of the compiler you are using, and we suggest you read it before you start your first project.
In case this is your first encounter with one of our compilers the Help file has a "Specifics" chapter that will give you a better understanding of its capabilities.
The compiler organizes applications into projects consisting of a single project file and one or more source files. You will be able to manage several projects at the same time.
The picture below shows the default layout of the compiler IDE. You can always customize the layout in a way that suits your needs.
Hide the features that are of no use to you at the moment, and add the ones that you require.
- 1. Main Toolbar
By the default layout the first section of the Main Toolbar is dedicated to the creating, editing and deleting of the project. The second section is for adding files.
The third one is concerned with saving options and printing. The fourth one is for building your project and starting the programmer.
The fifth one is for managing the USART terminal, EEPROM editor tool and other options. The sixth one is for layout features.
The seventh one is for assembly, listings and statistics. The eight one is for the Help file and the examples folder.
The ninth, and last section, is History, for retracing your steps in the Code Editor.
- 2. Code Explorer
The Code Explorer is located at the top, left corner of the screen. You can see a list of functions, web links, and active comments in the project you opened.
- 3. Project Settings
In this section, you have the name of the device you are using, the frequency of the MCU clock and the Build/Debugger types.
The frequency of the MCU clock determines the speed of the microcontroller.
- 4. Messages
In case that errors were encountered during compiling, the compiler will report them in the Message box, and won’t generate a hex file.
The compiler also reports warnings, but these do not affect the output; only errors can interefere with the generation of a hex.
- 5. Quick Convertor
Makes translating from one form to another easy. For example from a decimal number to binary number.
- 6. Code editor
The Code Editor features adjustable Syntax Highlighting, Code Folding, Code Assistant, Parameters Assistant, Auto Correct for common typos
and Code Templates (Auto Complete).
- 7. Image Preview
The image Preview box is located in the top right corner of the screen, by default. It shows the images of active links you have added in the comments section of the code.
- 8. Project Manager
The Project Manager is an IDE feature which allows you to manage multiple projects. It shows source and header files in each project.
Several projects can be open at the same time, but only one of them may be active at one time.
To set a project in active mode you need to double click on the desired project in the Project Manager.
- 9. Library Manager
The Library Manager allows you to work with the libraries in a simple and easy way. The Library Manager window lists all libraries.
The desirable library is added to the project by selecting check box next to the library name.
In order to have all library functions available, simply press the Check All button, and that’s it.
Visual TFT IDE
Visual TFT supports a total of 17 TFT controllers. We have designed the IDE so that you can create your visual projects with ease.
Your projects can be organized into multiple screens or you can keep everything on a single screen.
Each screen can be moved and changed to your liking. Change the color of the background or reorganize the components.
One screen can contain one application or one functionality of the application.
The Components palette lets you choose between different fonts and labels, gradient and standard fills for boxes, visibility, border color and many more options.
You can use multiple screens and edit the components.
The Layer box in the IDE lets you specify layer position and visibility; and to make things even better you can lock certain layers.
We are here to make your work easier and more enjoyable. With this set of buit-in tools your just a few clicks away from making a great project.
- The mE Programmer — Runs the MikroElektronika programmer.
- Package Manager — The Package Manager is a free software which enables you to easily integrate your libraries into all MikroElektronika Compilers.
It creates a redistributable archive which can be installed on other computers. Along with libraries, packages can contain other valuable information such as:
Definition Files, Help Files, Dependencies and Examples. Using this tool you can start distributing your own libraries much faster and easier.
- MikroProg Power Options — Sets the target circuit power options (in voltage).
- Ascii Chart — opens a window containing the Ascii chart. The Ascii code is a numerical representation of characters we use every day, like 4, %, H, or @., because computers can only understand numbers.
This tool is very useful when working with an LCD display.
- EEPROM Editor — The EEPROM Editor is used for manipulating MCU's EEPROM memory. You can choose the format (Dec, Hex, Float, String) in the bottom left corner of the screen.
The default size is measured in bytes. If you want to modify individual locations, you will need to enter a new value in the .hex format for the appropriate address.
- GLCD Bitmap Editor — This editor generates code equivalent of a BMP image, which you can then see on the LCD display. The “Load BMP” button is located in the top left corner of the screen.
Once you choose the image you want from the folder, you will be able to see both the preview of how it will look on the screen and the code in the “Generated code” box below.
- HID Terminal — HID communication terminal for USB communication.
- LCD Custom Character — This tool allows you to design your own custom character and display them on a LCD screen. All you need to do is draw the character, and the tool will translate it into code.
Once you are satisfied with how the character looks like click on the “Generate Code” button in the bottom of the screen.
- mikroBootloader — This feature allows a small bootloader program to receive and write new firmware into memory.
In its most simple form, the bootloader starts the user code running, unless it finds that new firmware should be downloaded.
If there is new firmware to be downloaded, it gets the data and writes it into program memory.
- Seven Segment Editor — The Seven Segment Editor is a convenient visual panel which returns decimal/hex value for any viable combination you would like to display on seven segment display.
Click on the parts of seven segment image to get the requested value in the edit boxes.
- UDP Terminal — UDP communication terminal allows easy sending and receiving of USB packages.
- USART Terminal — the compiler includes the USART terminal for RS232 communication. The USART Terminal window contains options for serial communication configuration and display of sent/receive data.
- USB HID Bootloader — A tool for uploading the hex code on devices that have a USB HID.