PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
141B

  1. #include <Entropy.h>
  2. void setup()
  3. {
  4. Entropy.Initialize();
  5. }
  6. void loop()
  7. {
  8. if (Entropy.available())
  9. randomSeed(Entropy.random());
  10. }