Page 1 of 1

Custom Characters For 7Segment Displays

Posted: Sat Oct 26, 2013 7:01 pm
by prasha920
Hi All,
attached the edited component files of 7segment (single and 4 7seg.) components.
just replace the original .c files with these ones in components folder of your FC installed directory.
also make sure to back up the original files, not necessary but you can easily revert back if you think your code size has increased and you dont want custom characters. :D
LUT file is also uploaded for reference while defining the variables(small description is given in the file.
hope this helps ... :D
updated with all on and off display feature. :D
if you find this useful you can appreciate by clicking on thumbs up icon :D :D

Regards,
Prashant

Re: Custom Characters For 7Segment Displays

Posted: Mon Oct 28, 2013 9:17 am
by beambase
Hello
for what version of Flowcode was this created? I've tried it in version 5 but it doesn't compile, generating several errors. I will look at the code and see id I can do a version 5 or version 6 compatible component.

Re: Custom Characters For 7Segment Displays

Posted: Mon Oct 28, 2013 11:47 am
by prasha920
Hello,
First off thanks for updating...
i am really sorry that i didn't mention the flowcode version.
I have edited the FCV 4 component files.

I didn't had much information about the compatibility of FC component files between different versions of the FC.
Anyways, it is much easier to edit the component files of any version,
i have now uploaded the another file that may help for other versions of FC..
check it out and please let me know if it works. :D
Hope it helps..


Prashant

Re: Custom Characters For 7Segment Displays

Posted: Thu Dec 19, 2013 8:29 am
by Lucky123
not necessary but you can easily revert back if you think your code size

Re: Custom Characters For 7Segment Displays

Posted: Wed May 15, 2019 12:19 am
by Derrihj
Tried to change FC8 component files for 7seg but notepad cannot read the files when i tried to force it its shows funny characters in notepad what can i do coz I've always whated to use custom characters on 7seg pliz help how can i change FC8 componet files do 7seg to use with LUT for custom characters.

Re: Custom Characters For 7Segment Displays

Posted: Wed May 15, 2019 9:21 am
by Derrihj
The example in the LUT does not clearly show how to display characters for example how do i display 'OFF' on a 7seg quad display?

Re: Custom Characters For 7Segment Displays

Posted: Fri May 17, 2019 7:02 pm
by Benj
Hello,

I added functionality into v8 for you as requested here.
viewtopic.php?f=76&t=21209&p=95265#p95265

For OFF you would use these values.

O = 0b00111111
F = 0b01110001

Re: Custom Characters For 7Segment Displays

Posted: Sat May 18, 2019 10:25 am
by Derrihj
Yes but how to use them please help us with an example. To make things simple.

Re: Custom Characters For 7Segment Displays

Posted: Tue May 21, 2019 10:13 am
by Benj
Here's an example for you.
7segCharDemo.fcfx
(15.63 KiB) Downloaded 352 times