7 segment display 4 digit

Moderator: Benj

Post Reply
hertz89
Posts: 19
Joined: Sat Mar 22, 2014 6:30 pm
Been thanked: 3 times
Contact:

7 segment display 4 digit

Post by hertz89 »

hi
if i want to disconnect DP pin..i will connect DP to ground directly ..how can i do that?

thanks

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: 7 segment display 4 digit

Post by Benj »

Hello,

If you navigate to this directory.

C:\Program Files (x86)\Flowcode\v5\Components

Then find the file.

FC5_PIC_7seg.c

Copy the file to your desktop and open in a text editor.

Search for any line containing the text %a_SEG_PIN7

For example

Code: Select all

FC_CAL_Bit_Low_DDR(%a_SEG_PORT, %a_SEG_TRIS, %a_SEG_PIN7);
Any lines that look like this comment them out.

Code: Select all

//FC_CAL_Bit_Low_DDR(%a_SEG_PORT, %a_SEG_TRIS, %a_SEG_PIN7);
There should be four lines you need to comment out.

Save the file and copy back to the original directory.

In Flowcode you will still need to specify a pin but the pin will no longer be used in the code.

hertz89
Posts: 19
Joined: Sat Mar 22, 2014 6:30 pm
Been thanked: 3 times
Contact:

Re: 7 segment display 4 digit

Post by hertz89 »

ok thanks alot Benj

Post Reply