16f887 mclr re3
Moderator: Benj
-
- Posts: 20
- Joined: Sun Jun 03, 2012 12:53 pm
- Location: Malaysia
- Has thanked: 13 times
- Contact:
16f887 mclr re3
I set the above re3to digital input in config setting but found that i still can get the pin for extra connection in any output connection. Any update?
- 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: 16f887 mclr re3
Hello,
Here is an updated FCD with the RE3 pin added.
Here is an updated FCD with the RE3 pin added.
- Attachments
-
- 16F887.fcd
- (12.47 KiB) Downloaded 333 times
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
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: 16f887 mclr re3
Actually the pin which is multiplexed with MCLR can only be input and this is configurable as you said. You rightly said that this pin should not be in the output list. But still flowcode is not doing this obvious thing. I'll have a look at Fcd if anything could be done I'll let you know.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: 16f887 mclr re3
Hi Ben,
I was posting from my mobile..it seems that we are trying to post at similar time...But I have tried your FCD..
With this PORTE<3> still available as output.
If I change to the above, PORTE<3> will be no more in output but the problem is it will be no more as input also..
In that case, we have to use c code for input..can't use FC component..
I was posting from my mobile..it seems that we are trying to post at similar time...But I have tried your FCD..
Code: Select all
PortMask4=0x0F
Code: Select all
PortMask4=0x07
In that case, we have to use c code for input..can't use FC component..
- 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: 16f887 mclr re3
Hi Enamul,
Yes i'm afraid either the pin is unavailable or is available for both input and output in Flowcode, there is currently no way to define a pin as input only. Maybe a good addition for the future?
Yes i'm afraid either the pin is unavailable or is available for both input and output in Flowcode, there is currently no way to define a pin as input only. Maybe a good addition for the future?
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
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: 16f887 mclr re3
Yes, that's I replied in my first post..But if we remove that in FCD and use c code for input that could solve problem temporarily. Isn't that?