Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UniGraphic mbed vt100
af_utils/mbedSPI.h
- Committer:
- Rhyme
- Date:
- 2018-03-02
- Revision:
- 0:774324cbc5a6
File content as of revision 0:774324cbc5a6:
#ifndef _MBEDSPI_H_ #define _MBEDSPI_H_ #include "mbed.h" #include "afSPI.h" class mbedSPI : public afSPI { public: mbedSPI(PinName mosi, PinName miso, PinName sckl, PinName cs) ; virtual void begin() ; virtual void beginSPI() ; virtual void endSPI() ; virtual void transfer(char *bytes,int len) ; private: SPI _spi ; DigitalOut _cs ; } ; #endif /* _MBEDSPI_H_ */