Hello,
I'm using a pic 18F458 and i want to use the pin RD3 as an input but it not work. I read the datasheet and i see that i must define the RD3 as an input before using. How can i change this with flowcode please ?
Thank a lot.
Define I/O
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: Define I/O
Hello,
Please can you post your program and we will look for you. It should just be a case of using the input icon and reading the state of Port D or Single Pin D3.
Please can you post your program and we will look for you. It should just be a case of using the input icon and reading the state of Port D or Single Pin D3.
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
- 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: Define I/O
Aha, Brilliant glad you've got it working now.
Also thanks for letting us know your fix.
I have now added this change to the Flowcode definitions files so it is automatically called for you behind the scenes when you select that device.
Simply extract the attached archive into your "Flowcode 6/FCD/PIC" folder and restart Flowcode for the changes to be loaded.
Also thanks for letting us know your fix.
I have now added this change to the Flowcode definitions files so it is automatically called for you behind the scenes when you select that device.
Simply extract the attached archive into your "Flowcode 6/FCD/PIC" folder and restart Flowcode for the changes to be loaded.
- Attachments
-
- PIC.zip
- (13.47 KiB) Downloaded 182 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