Page 1 of 1
how to clear 7segment (quad)
Posted: Sat Nov 18, 2017 7:39 am
by wahid
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.

- Clip.jpg (65.88 KiB) Viewed 3275 times
Re: how to clear 7segment (quad)
Posted: Sat Nov 18, 2017 1:36 pm
by medelec35
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 this
Wiki link
Martin
Re: how to clear 7segment (quad)
Posted: Tue Nov 21, 2017 7:46 am
by wahid
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.