SakuraIO
Fork of SakuraIO by
Diff: SakuraIO.h
- Revision:
- 2:6f8e51a42a7d
- Parent:
- 1:20e1dfe45dab
- Child:
- 3:c54a1eba22c4
--- a/SakuraIO.h Sat Nov 19 12:32:11 2016 +0000 +++ b/SakuraIO.h Sat Nov 19 12:34:23 2016 +0000 @@ -64,11 +64,11 @@ protected: SPI &spi; DigitalOut &cs; - void begin(); - void end(); - void sendByte(uint8_t data); - uint8_t receiveByte(bool stop); - uint8_t receiveByte(); + virtual void begin(); + virtual void end(); + virtual void sendByte(uint8_t data); + virtual uint8_t receiveByte(bool stop); + virtual uint8_t receiveByte(); public: SakuraIO_SPI(SPI &_spi, DigitalOut &_cs); };