Hello every body. Hope every one will be fine.
This is my first post and I am new to flowcode. I need a little bit help.
I am using flowcode 6
in 7segment (quad) i want to blink it making all 4 digits on and off but in the menu there is no clear digits macro i see only show digits.
how to clear 7segment (quad)
-
- 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: how to clear 7segment (quad)
Hi wahid,
Welcome to the forums.
Yes I do see what you mean.
The simulation is a bit misleading as it shows all on, but on actual hardware there will only ever be one on at a time.
I have posted a flowchart V1 that does not work with simulation, but will work on hardware.
Display on hardware will cycle on for 1sec then all off for 1 sec.
When you get more used to Flowcode then the better method of controlling LED would be via timer interrupt.
See example 2in thisWiki link
Martin
Welcome to the forums.
Yes I do see what you mean.
The simulation is a bit misleading as it shows all on, but on actual hardware there will only ever be one on at a time.
I have posted a flowchart V1 that does not work with simulation, but will work on hardware.
Display on hardware will cycle on for 1sec then all off for 1 sec.
When you get more used to Flowcode then the better method of controlling LED would be via timer interrupt.
See example 2in thisWiki link
Martin
- Attachments
-
- LED Display V1.fcfx
- (6.19 KiB) Downloaded 195 times
Martin
Re: how to clear 7segment (quad)
Thanks medelec35.
In lot of cases we are not actually interested in wasting time to assemble hardware because we are actually going to make some other project and these are only for knowledge. So we are interested to see it in simulation only. So the team who is creating flowcode software should think about it.
For this problem your solution is perfect. We can switch off the port pin which is controlling the digit.
A lot of thanks once again.
In lot of cases we are not actually interested in wasting time to assemble hardware because we are actually going to make some other project and these are only for knowledge. So we are interested to see it in simulation only. So the team who is creating flowcode software should think about it.
For this problem your solution is perfect. We can switch off the port pin which is controlling the digit.
A lot of thanks once again.