PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

README.txt 512B

3 år sedan
1234
  1. The purpose of this example is to demonstrate how to use TeensyThreads as part of std and implement it such that a class could easily implement threading without much overhead
  2. The Runnable.h file is an abstract definition of how to use threads
  3. Any class that dervives from Runnable just needs to implement the runTarget(void *args) and start the thread.
  4. This specific example extends an example LED class such that an LED object can be constructed to blink for some duration, at some period, with some duty cycle