arkhipenko / TaskScheduler

Cooperative multitasking for Arduino, ESPx, STM32, nRF and other microcontrollers
http://playground.arduino.cc/Code/TaskScheduler
BSD 3-Clause "New" or "Revised" License
1.22k stars 224 forks source link

add an understandable documentation and examples that really show how it works #79

Closed StefanL38 closed 4 years ago

StefanL38 commented 4 years ago

totally wrong comment here. I let it stay here that the following comment stays understandable.

The following comment was written by me but should have been adressed to other code from another author.

Original Text: I have read your "simple" example. This example might run. But I understand nothing. It makes use of delay all the time. Is this a complete FAKE confusing newbees???

At least you should explain why in your code delay does NOT block code-execution End of original text.

I aplogise a throusand times. This comment is completely displaced for the code and work done here.

arkhipenko commented 4 years ago

Since there is no link to which "simple" example you are talking about, I can not help you. In fact, the tone of your comment is such that I really do not want to. You are welcome to NOT use this library.

lackdaz commented 4 years ago

I currently use this library to run a stepper motor, pid control 4 heating cores, detect output from 2 linebreak sensors and as a stretch, its now running a U8g2 display which to visualize live parameter configurations using a digital encoder - that's alot of work for an ATMEGA2560.

As with all things good and pure, you need to grok, tinker and actually try it. In fact, the documentation for this library is superb - perhaps not best worded for beginners to this subject like I am - but well-documented. @arkhipenko has spend precious hours of his time giving insight on how to use this library, and time he could have spent doing something else.

You should at the very least show some respect and not hurl baseless accusations like:

Is this a complete FAKE confusing newbees???

when there are other important libraries like painlessMesh using this one as a dependency.

Since you are new to github, I would encourage you to use a less aggressive tone when seeking help from others.

StefanL38 commented 4 years ago

Hello,

I apologise for writing in a rude manner. I was looking at multiple libraries at the same time. After relooking inside your examples I see that my comment was meant for another multitask library. Again I apologise for what I have written. Completely my fault. In fact THIS library is well documented.

You are right I am new to github. I was not aware that documentation is placed under subfolder "extras".

So I hope you accept my apologising and - after reading your documentation - if I have any further questions that you might reply on them

best regards

Stefan