Introduction

The MConn Mini can be programmed exclusively in C. There is no graphical designer available. A demo project for this is available after creating a MConn Mini project in Applics Studio and can be found in the user_code.c.

This demo project can be used to start a development and shows how to create pages, draw symbols, write fonts, check the status of the capacitive buttons and much more. For a look and feel, the program can be flashed directly to the MConn Mini and the demo application will start.


LCD Image Converter

It is possible to display images on MConn Mini Display and also to create and add new fonts. The LCD Image Converter software is a good choice for this purpose.

Download

Download the LCD Image Converter and the configuration files.

Configuration and Start

Starting LCD Image Converter for the first time, the configuration file MRS_Config_Picture.xml needs to be imported.


Load and Convert Picture

Convert your pictures and copy the source code to user_code.c as shown in the following video.

After creating the MRS.c file, the source code should be copied to the user_code.c.

It is recommended to insert the declaration at the top of the user_code.c section and the initialization itself at the end of the user_code.c. The function glcd_draw_picture(0, 0, &image_data_MRS[0]); can be called in the usercode() loop.

Now the project can be saved and compiled.

//Array Declaration
const uint16_t image_data_MRS[];

//Function call which can be used within usercode(void) loop
glcd_draw_picture(0, 0, &image_data_MRS[0]);

//Add this Code into your user_code.c - recommended at the end of user_code() loop

const uint32_t image_data_MRS[] = {
    245,
    245,
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffe1ffff, 0xff316b93, 0xffd5ffff, 0xffeeffff, 0xfffbffff, 0xfffffffd, 0xfffffefb, 0xfffffffb, 0xfffdfdfd, 0xfffffeff, 0xfffefeff, 0xfffbffff, 0xfffdfffe, 0xfffffffb, 0xfffdfcf8, 0xfffffffd, 0xfffffffd, 0xfffffffd, 0xfffffffb, 0xfffffdff, 0xfffffeff, 0xffffffff, 
       .
       .
       . 
    0xff6ba3d2, 0xff69a3d3, 0xff629ed0, 0xff5d9bce, 0xff5695ca, 0xff4b8ec5, 0xff458ac3, 0xff3f85c0, 0xff3680bd, 0xff327ebc, 0xff2d78b9, 0xff2977b7, 0xff2775b5, 0xff2271b3, 0xff2271b3, 0xff2473b6, 0xff2271b4, 0xff2372b5, 0xff2372b5, 0xff2372b5, 0xff2473b6, 0xff2573b5, 0xff2674b6, 0xff2d78bb, 0xff327cbb, 0xff3b81bd, 0xff4688c4, 0xff4f8dc6, 0xff5a97cd, 0xff66a2d6, 0xff7eb4e2, 0xff9fccf3, 0xffb7dcf9, 0xffe3fcff, 0xfff0ffff, 0xfff2ffff, 0xfff5ffff, 0xfff7ffff, 0xfff7feff, 0xfffffeff, 0xfffffeff, 0xfffeffff, 0xfff6fafd, 0xfffeffff, 0xfffeffff, 0xfffcfcfe
};

Example View

Splash Screen