ivanseidel / ArduinoThread

⏳ A simple way to run Threads on Arduino
MIT License
955 stars 196 forks source link

Add light versions. #32

Open stanmain opened 6 years ago

stanmain commented 6 years ago

Light versions of Thread and StaticThreadController that uses less memory. Maximum period is only 32,767 seconds. It is recommended to use only in case of a memory deficit.

stanmain commented 6 years ago

The lite version is really incompatible with the original library. This is an alternative. It would be better to create a new lite library instead of the merger? And how is it better to do this? I do not have the experience of pulling a request, but I think that this version can help someone.

CAHEK7 commented 6 years ago

I'm not the maintainer of this project, so I can't make a decision. But I guess the best solution is to make separate library (with proper documentation and examples) and put some cross-reference to it from this project to help people to find lightweight version. Hope @ivanseidel can take a look and comment.

ivanseidel commented 6 years ago

Hi @stanmain! Thanks for reaching out and making contribution to the library!

We need to understand how compatible this can be to choose if it will be merged into ArduinoThread, or a new Library (we could reference it in this case in the README).

I have a few questions to guide us during this process.

@CAHEK7 thank you very much for the help!