xpress_embedo
Advanced Member level 4
Hello!! Everyone,
I have to write to memory card with the following frequency
• 100 ms
• 200 ms
• 250 ms
• 500 ms
• 1 sec
• 2 sec
• 2.5 sec
• 5 sec
• 10 sec
• 15 sec
• 30 sec
• 1 min
• 2 min
• 2.5 min
• 5 min
• 10 min
This time is selected by Lcd Menu, as these are 16 entries, a variable is used suppose frequency whose value goes from 0-15, for each particular time.
I have a task which write to memory card at a rate of 100 msec
How can use this variable frequency to evaluate the time which is selected and do logging.
Please suggest me some better way to do this.
I have to write to memory card with the following frequency
• 100 ms
• 200 ms
• 250 ms
• 500 ms
• 1 sec
• 2 sec
• 2.5 sec
• 5 sec
• 10 sec
• 15 sec
• 30 sec
• 1 min
• 2 min
• 2.5 min
• 5 min
• 10 min
This time is selected by Lcd Menu, as these are 16 entries, a variable is used suppose frequency whose value goes from 0-15, for each particular time.
I have a task which write to memory card at a rate of 100 msec
How can use this variable frequency to evaluate the time which is selected and do logging.
Please suggest me some better way to do this.