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.
LUT file is also uploaded for reference while defining the variables(small description is given in the file.
hope this helps ...
updated with all on and off display feature.
if you find this useful you can appreciate by clicking on thumbs up icon
Regards,
Prashant
Custom Characters For 7Segment Displays
-
- Posts: 30
- Joined: Tue Apr 16, 2013 3:10 pm
- Has thanked: 48 times
- Been thanked: 9 times
- Contact:
Custom Characters For 7Segment Displays
- Attachments
-
- LUT for custom sement display.xls
- Added "all_on" and "off" feature
- (33 KiB) Downloaded 539 times
-
- PIC_7seg4.c
- (6.1 KiB) Downloaded 587 times
-
- PIC_7seg.c
- (8.23 KiB) Downloaded 534 times
Last edited by prasha920 on Wed Nov 27, 2013 1:28 pm, edited 1 time in total.
-
- Posts: 94
- Joined: Wed Jul 29, 2009 5:15 pm
- Has thanked: 6 times
- Been thanked: 8 times
- Contact:
Re: Custom Characters For 7Segment Displays
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.
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.
-
- Posts: 30
- Joined: Tue Apr 16, 2013 3:10 pm
- Has thanked: 48 times
- Been thanked: 9 times
- Contact:
Re: Custom Characters For 7Segment Displays
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.
Hope it helps..
Prashant
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.
Hope it helps..
Prashant
- Attachments
-
- for other versions than FC4.txt
- FC5 and FC6 users please download this file and LUT file from 1st post.
- (1.49 KiB) Downloaded 559 times
Re: Custom Characters For 7Segment Displays
not necessary but you can easily revert back if you think your code size
**** *SABer ****
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Custom Characters For 7Segment Displays
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.
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Custom Characters For 7Segment Displays
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?
- 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: Custom Characters For 7Segment Displays
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 348
- Joined: Mon Jul 09, 2018 12:43 pm
- Has thanked: 67 times
- Been thanked: 33 times
- Contact:
Re: Custom Characters For 7Segment Displays
Yes but how to use them please help us with an example. To make things simple.
- 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: Custom Characters For 7Segment Displays
Here's an example for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel