New(edit) Component

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

New(edit) Component

Post by vlad1451 »

Hello. Prompt please, whether probably creation (or editing) a component for Flowcode v5. If yes, that that for this purpose is necessary. There is a desire to edit the gLCD component under the display. If the FC5_AVR_gLCD.c file can be edited, "FC5_AVR_gLCD.ocx" already a problem (for me).

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

Prompt where SDK can download for Flowcode 5?

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: New(edit) Component

Post by kersing »

There is no SDK for Flowcode 5. If you want to create a new component you will need to change the Custom or Custom2 component. You will not be able to include simulation for your custom component. A better option is to switch to Flowcode 6, this version enables creation of a component including simulation. For version 6 there are examples of component creation on the Flowcode wiki.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

If to edit the OCX file it is impossible, who can will prompt as to force the gLCD component to display characters of cyrillic (128-255).

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: New(edit) Component

Post by Benj »

Hello,

this topic might help as it deals with customised fonts in v5.
http://www.matrixtsl.com/mmforums/viewt ... 818#p26937

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

I tried to add any fonts, simply I add necessary мнешрифт to the "branching code" window in "project parameters". But the matter is that when I address to the part of a font containing cyrillic, always I receive the character "?". Such feeling that the program can't simply recognize a code of the characters entered by me.

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

Here the simple example, brings to the display a line "Привет Мир!". But when I check in iron, I receive "?????? ????".
Attachments
Flowcode1_temp.fcf_avr
(67.34 KiB) Downloaded 275 times

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

Probably nobody dealt with cyrillic?

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

It is very sad that at v.5 such problems with cyrillic. Not really that wants to be transferred because of any trifles on v.6.

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

I want to ask one more question. Prompt how to the gLCD component to remove unnecessary macroes? It is possible? I would like to remove those macroes which I don't use (Plot, DrawLine, DrawBox).

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: New(edit) Component

Post by dazz »

hi
the macros you dont use are removed during compiling

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

In case of compilation it is created About the file at which all these macroes are present. If I correctly understand, compilation in HEX comes from this file C. You want to tell, what the kompilyaor deletes those macroes to which there is no address from a code?

vlad1451
Posts: 22
Joined: Sun Sep 07, 2014 6:02 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: New(edit) Component

Post by vlad1451 »

Really not who doesn't know as to expand ASCII range with 127 to 255 symbols, and if I want to use a font other than English?

Post Reply