Page 1 of 1

Without using call component marco for counter

Posted: Fri Jan 22, 2021 5:26 am
by kakiku123456
I

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 10:19 am
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').

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 11:26 am
by kakiku123456
I

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 12:10 pm
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 ?

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 12:22 pm
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.

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 3:32 pm
by kakiku123456
I

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 3:34 pm
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

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 4:26 pm
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

Re: Without using call component marco for counter

Posted: Fri Jan 22, 2021 4:29 pm
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.