![](/media/cache/group/1711.jpg.50x50_q85.jpg)
Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.
Dependencies: UniGraphic mbed vt100
af_utils/mbedSPI.h
- Committer:
- Rhyme
- Date:
- 2018-02-23
- Revision:
- 1:8818b793d147
- Parent:
- 0:ce97f6d34336
File content as of revision 1:8818b793d147:
#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_ */