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.

20 lines
321B

  1. #pragma once
  2. #include <cstdint>
  3. #include <vector>
  4. #include "Clock.hpp"
  5. #define PRIME_LIMIT 16
  6. namespace SynthDevKit {
  7. class PrimeClock : public Clock {
  8. public:
  9. PrimeClock (uint16_t, float);
  10. bool *update (float);
  11. std::vector<uint16_t> primes;
  12. private:
  13. void generatePrimes ( );
  14. };
  15. }