暫無描述
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.

encoder.h 330B

12345678910111213141516171819
  1. #ifndef _ENCODER_H_
  2. #define _ENCODER_H_
  3. void encoder_init(void);
  4. void encoder_run(void);
  5. bool encoder_click(void);
  6. bool kill_switch(void);
  7. // --------------------------------------
  8. void encoder_run_fast(void);
  9. // disable interrupts while reading these
  10. int encoder_change(void);
  11. int encoder_rpm(void);
  12. #endif // _ENCODER_H_