Sam Halvoe
Active member
Hello,
I would like to use the library TaskScheduler in my project, but I think the library could support Teensyduino better.
I would like to make a PR for the library, but beforehand I would like to ask for advice:
Therefore my questions are:
I would like to use the library TaskScheduler in my project, but I think the library could support Teensyduino better.
I would like to make a PR for the library, but beforehand I would like to ask for advice:
- The library supports std::function, but only for specific platforms (e.g. ESP32). I would like to add Teensy as a supported platform.
- The library supports to call yield(), but only for specific platforms (e.g. ESP32). I would like to add Teensy as a supported platform.
Therefore my questions are:
- Do all MCUs which use Teensyduino support std::function and define yield()?
- Is it appropriate to use the define TEENSYDUINO in my PR for the library to check if a Teensy is used (and therefore std::function and yield() are supported)? (see code sections above)