12345678910111213141516171819202122 |
- #ifndef FR_ValueBoard_h
- #define FR_ValueBoard_h
-
- #include "Arduino.h"
-
- class FR_ValueBoard
- {
- public:
- FR_ValueBoard(byte pinS2,byte pinS1,byte pinS0,byte data);
- int readValue(byte num);
-
- private:
- byte _S2; //MSB
- byte _S1;
- byte _S0; //LSB
- byte _data;
- byte transVRPin[8] = {6,7,4,5,2,3,0,1};
- void init();
-
- };
-
- #endif
|