Pic16f777

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Pic16f777

Post by josem-mp »

Hi all, I'm trying to make a program PIC16F777.
Attached is a part of the program where A0 does not work, and A4 is working properly.

anyone know what may be the cause.

thanks
Attachments
Maqueta.fcf
(6.5 KiB) Downloaded 226 times

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: Pic16f777

Post by dazz »

Hi
Firstly can you sign up to the relevant forums using the link in my sig, as it makes it easier for us to help as we can then see which version you are using
what isn't working for you as when i run the flowchart, its doing what you ask it to, i've added a switch and led
the way you have your decision branches, both outputs will be high /change the state of the inputs and outputs will go low
What exactly do you need your chart to do

Regards
Dazz
Attachments
Maqueta added sw and led.fcf
(10 KiB) Downloaded 235 times
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Re: Pic16f777

Post by josem-mp »

When active D3 A0 has to shut down, and when you have to turn off active A4 D2.
In the simulator it does well but no plate.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times

Re: Pic16f777

Post by dazz »

Hi
Thanks for signing up to the v5 forums.
Sorry i'm struggling to understand i think its the language barrier
do you want it to work like this

if a0=1 and a4=0 then d3=1 d2=0
if a4=1 and a0=0 then d2=1 d3=0
is that what your after ??
can you post yor full flowchart

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Re: Pic16f777

Post by josem-mp »

Yes, is correct.

josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Re: Pic16f777

Post by josem-mp »

it is the diagram.
the left macro is functioning properly.
The right macro does not work correctly.
Attachments
Maqueta.fcf
(42.67 KiB) Downloaded 241 times

Post Reply