Without using call component marco for counter
Moderator: Benj
-
- Posts: 8
- Joined: Wed Jan 20, 2021 8:42 pm
- Contact:
Without using call component marco for counter
I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:32 am, edited 1 time in total.
- Steve
- Matrix Staff
- Posts: 3424
- 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
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').
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').
-
- Posts: 8
- Joined: Wed Jan 20, 2021 8:42 pm
- Contact:
Re: Without using call component marco for counter
I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:31 am, edited 1 time in total.
-
- 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
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 ?
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
- Steve
- Matrix Staff
- Posts: 3424
- 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
Don't think about the state of the push button. Instead, think about the change in state.kakiku123456 wrote: ↑Fri Jan 22, 2021 11:26 amhow the number increase from 1 into 2 when i push momentary push button second time?
i.e. don't react when the button is down, react when the button changes from down to up.
-
- Posts: 8
- Joined: Wed Jan 20, 2021 8:42 pm
- Contact:
Re: Without using call component marco for counter
I
Last edited by kakiku123456 on Sat Jan 23, 2021 3:32 am, edited 2 times in total.
-
- Posts: 8
- Joined: Wed Jan 20, 2021 8:42 pm
- Contact:
Re: Without using call component marco for counter
Hello Steve,Steve wrote: ↑Fri Jan 22, 2021 12:22 pmDon't think about the state of the push button. Instead, think about the change in state.kakiku123456 wrote: ↑Fri Jan 22, 2021 11:26 amhow the number increase from 1 into 2 when i push momentary push button second time?
i.e. don't react when the button is down, react when the button changes from down to up.
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
-
- Posts: 8
- Joined: Wed Jan 20, 2021 8:42 pm
- Contact:
Re: Without using call component marco for counter
Hello Steve, i have did it for 3 days , but still i cannot find the solution, please explain to me in diagramSteve wrote: ↑Fri Jan 22, 2021 12:22 pmDon't think about the state of the push button. Instead, think about the change in state.kakiku123456 wrote: ↑Fri Jan 22, 2021 11:26 amhow the number increase from 1 into 2 when i push momentary push button second time?
i.e. don't react when the button is down, react when the button changes from down to up.
-
- 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
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.
Its always best to post the Flowchart itself.
Is that Flowcode v5?
If so you are posting in the wrong section.
Martin