BrickUp API Service for Docker version.

FR_ValueBoard.h 374B

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