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.

FreqCount.h 342B

3 jaren geleden
1234567891011121314151617181920
  1. #ifndef FreqCount_h
  2. #define FreqCount_h
  3. #include <Arduino.h>
  4. class FreqCountClass {
  5. public:
  6. #if(!defined(__IMXRT1062__))
  7. static void begin(uint16_t msec);
  8. #else
  9. static void begin(uint32_t usec);
  10. #endif
  11. static uint8_t available(void);
  12. static uint32_t read(void);
  13. static void end(void);
  14. };
  15. extern FreqCountClass FreqCount;
  16. #endif