hi
if i want to disconnect DP pin..i will connect DP to ground directly ..how can i do that?
thanks
7 segment display 4 digit
Moderator: Benj
- 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
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
Any lines that look like this comment them out.
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.
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);
Code: Select all
//FC_CAL_Bit_Low_DDR(%a_SEG_PORT, %a_SEG_TRIS, %a_SEG_PIN7);
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.
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