feilipu / Arduino_FreeRTOS_Library

A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc).
MIT License
841 stars 204 forks source link

Add an example of task state switching #69

Closed Derekduke closed 4 years ago

Derekduke commented 4 years ago

Add an example of task suspend and resume. It is very simple, so as a test for the first time to submit PR. In addition, what are the examples of FreeRTOS APIs you want to see?

feilipu commented 4 years ago

I'm agnostic as to what examples you (or anyone) would like to add. Perhaps a few guidelines could include:

Floessie commented 4 years ago

There are also some basic examples in my frt wrapper around this library which might serve as a hint. Feel free to use them as an inspiration for your plain FreeRTOS examples.