Page 1 of 1
preset
Posted: Tue Oct 02, 2012 2:59 pm
by donald
Hello to all,
I want to do a timer without adjustment, with the value set for counting.
Thank you in advance!
Re: preset
Posted: Tue Oct 02, 2012 4:42 pm
by Benj
Hi Donald,
How about this?
Re: preset
Posted: Tue Oct 02, 2012 5:09 pm
by donald
Re: preset
Posted: Tue Oct 02, 2012 5:22 pm
by donald
Mr. Benj, if I want to illuminate an led after finishing counting 9999, where you have to put the led?
Re: preset
Posted: Tue Oct 02, 2012 5:39 pm
by donald
Right now, I have noticed that he was without a stop --> 0, -1, -2, etc. It would have been better if from 0000 it is stopped and an led lights up.
Re: preset
Posted: Tue Oct 02, 2012 6:04 pm
by medelec35
Hi donald,
One way is in attached flowchart.
Martin
Re: preset
Posted: Tue Oct 02, 2012 6:06 pm
by Enamul
Hi
Here is it..what you are looking for..
Re: preset
Posted: Tue Oct 02, 2012 6:28 pm
by donald
Re: preset
Posted: Wed Oct 03, 2012 7:27 am
by medelec35
Hi donald,
Your welcome.
If you would like me to alter flowchart, so LCD is always showing 4 digits e.g
9999
.....
.....
0002
0001
0000
Also the numbers can be fixed so it does not move to the right when changing i.e most right digit can be fixed at x5 for example.
So you can have:
Etc.
Then let me know if you want any changes and I can alter flowchart for you
Martin
Re: preset
Posted: Wed Oct 03, 2012 5:19 pm
by donald
Hi Martin,
Thank you very much sir Martin, I understood and I have proved and it works as you say.
For 5 digits what it has to be done?
Thanks in advance
Re: preset
Posted: Wed Oct 03, 2012 8:34 pm
by medelec35
Hi donald ,
I have created flowchart that can count from 99999 to 0.
See:
http://www.matrixmultimedia.com/mmforum ... 26&t=11343
Its a bit more complicated than counting from 9999 to 0 since maximum number LCD will display from and integer is 32767
Martin