BrickUp API Service for Docker version.

FR_IR.h 277B

1234567891011121314151617181920
  1. #ifndef FR_IR_h
  2. #define FR_IR_h
  3. #include "Arduino.h"
  4. class FR_IR
  5. {
  6. public:
  7. FR_IR(byte pinAnalog,byte pinDigital);
  8. boolean readDigital();
  9. int readAnalog();
  10. private:
  11. byte _pinAnalog;
  12. byte _pinDigital;
  13. void init();
  14. };
  15. #endif