Page 1 of 1
7 segment display 4 digit
Posted: Sun Jan 08, 2017 8:02 pm
by hertz89
hi
if i want to disconnect DP pin..i will connect DP to ground directly ..how can i do that?
thanks
Re: 7 segment display 4 digit
Posted: Mon Jan 09, 2017 1:21 pm
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.
Re: 7 segment display 4 digit
Posted: Mon Jan 09, 2017 3:12 pm
by hertz89
ok thanks alot Benj