Without using call component marco for counter

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
kakiku123456
Posts: 8
Joined: Wed Jan 20, 2021 8:42 pm
Contact:

Without using call component marco for counter

Post by kakiku123456 »

I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:32 am, edited 1 time in total.

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Without using call component marco for counter

Post by Steve »

Sounds like an interesting educational project. We can't help directly - your tutor will be monitoring this forum to prevent anyone cheating on this assignment. But we can probably offer hints...

You need to understand how a 7-seg display is internally connected and then output the correct pattern to represent the number you want to display. Remember there are different types of display (i.e. which side of the LEDs is 'common').

kakiku123456
Posts: 8
Joined: Wed Jan 20, 2021 8:42 pm
Contact:

Re: Without using call component marco for counter

Post by kakiku123456 »

I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:31 am, edited 1 time in total.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Without using call component marco for counter

Post by medelec35 »

Hi kakiku123456,
For us to help, we will need to see your flowchart.
Then we can point you in the right direction.
I totally get why Steve mentioned education project.
I thought exactly the same thing when read your post.
Reason being is why would you want to use output component macros which makes it more long winded, when you can use built in 7seg LED which simplifies flowchart a great deal ?
Martin

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Without using call component marco for counter

Post by Steve »

kakiku123456 wrote:
Fri Jan 22, 2021 11:26 am
how the number increase from 1 into 2 when i push momentary push button second time?
Don't think about the state of the push button. Instead, think about the change in state.

i.e. don't react when the button is down, react when the button changes from down to up.

kakiku123456
Posts: 8
Joined: Wed Jan 20, 2021 8:42 pm
Contact:

Re: Without using call component marco for counter

Post by kakiku123456 »

I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:32 am, edited 2 times in total.

kakiku123456
Posts: 8
Joined: Wed Jan 20, 2021 8:42 pm
Contact:

Re: Without using call component marco for counter

Post by kakiku123456 »

Steve wrote:
Fri Jan 22, 2021 12:22 pm
kakiku123456 wrote:
Fri Jan 22, 2021 11:26 am
how the number increase from 1 into 2 when i push momentary push button second time?
Don't think about the state of the push button. Instead, think about the change in state.

i.e. don't react when the button is down, react when the button changes from down to up.
Hello Steve,

do you mean when i pressed push button, the push button be 0 into 1, and release it 1 into 0 the number will be increase ?
Can u show me example ?? using any situation

kakiku123456
Posts: 8
Joined: Wed Jan 20, 2021 8:42 pm
Contact:

Re: Without using call component marco for counter

Post by kakiku123456 »

Steve wrote:
Fri Jan 22, 2021 12:22 pm
kakiku123456 wrote:
Fri Jan 22, 2021 11:26 am
how the number increase from 1 into 2 when i push momentary push button second time?
Don't think about the state of the push button. Instead, think about the change in state.

i.e. don't react when the button is down, react when the button changes from down to up.
Hello Steve, i have did it for 3 days , but still i cannot find the solution, please explain to me in diagram

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Without using call component marco for counter

Post by medelec35 »

Hi images rarely help, as can't see all of what's happening
Its always best to post the Flowchart itself.
Is that Flowcode v5?
If so you are posting in the wrong section.
Martin

Post Reply