Go Down

Topic: Unos 0.1.1 - Programs on SD Card Now Supported (Read 393 times) previous topic - next topic

goodinventer wrote:
Quote
Having a scheduler, though, would simplify more demanding tasks involving time limits.
With the code I have seen thus far in your posts, I'm not sure how it would simplify anything for a programmer needing to have complex or 'demanding' time based event schedules, when, as Robin points out, it is just so easy to use existing functions provided by the compiler such as millis().

I am left wondering after so many suggestions to you that you take some time to learn about a number of concepts, what has your motivation been to continually forge on with what to many of us is seemingly pointless?

I too, would like to suggest to you as ShapeShifter has,
Quote
come up with some interesting projects that are appropriate for a limited embedded processor like the Arduino, and go and have some FUN with it!
As your alias might suggest, why not go and invent something good, good for you, where you alone experience enjoyment from learning and tinkering?

Maybe like so many other people, you too can make your Arduino poke, prod, scrunch, regurgitate data from the real world to push, pull, send, store, speak or light to put that child like grin on your face and laugh with delight at your achievement.

Then, we, too can be then happy for you.

I am tiring of this thread, and will now bail out to do more interesting things, I wish you luck.
____
Paul

Robin2

#16
Jan 25, 2015, 11:49 pm Last Edit: Jan 25, 2015, 11:50 pm by Robin2
Somewhat. Having a scheduler, though, would simplify more demanding tasks involving time limits.
If the word "somewhat" refers to your familiarity with using millis() for timing then the VERY FIRST THING for your agenda is to become TOTALLY familiar with it before thinking about a scheduler.

I don't agree that a scheduler would benefit "more demanding tasks". All it will do is use more code and more CPU time to do the same job. Like hiring 2 accountants instead of one.

...R

goodinventor

On the contrary, I am completely familiar with using millis() in timing. It is simply the strategy used for schedulers in managing tasks that I do not fully understand.

goodinventor

How do I use my timing function that uses millis() for scheduling?

AWOL

Quote
I am completely familiar with using millis() in timing
Quote
How do I use my timing function that uses millis() for scheduling?
Speechless.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

goodinventor

I meant how do I schedule different tasks? Is there a link or a book that I can use to get an idea of how multitasking and process scheduling works?

AWOL

Chapter 7, Bovet and Cesati's "Understanding the Linux Kernel"
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy