1234567891011121314151617181920 |
- #ifndef FR_IR_h
- #define FR_IR_h
-
- #include "Arduino.h"
-
- class FR_IR
- {
- public:
- FR_IR(byte pinAnalog,byte pinDigital);
- boolean readDigital();
- int readAnalog();
-
- private:
- byte _pinAnalog;
- byte _pinDigital;
- void init();
-
- };
-
- #endif
|