Testé pour projet BTS SN
Fork of MODMAX7456 by
Revision 1:780cc760c05f, committed 2016-04-30
- Comitter:
- cdupaty
- Date:
- Sat Apr 30 17:10:04 2016 +0000
- Parent:
- 0:d7cd54ad4c3d
- Commit message:
- Test? pour projet BTS SN
Changed in this revision
MAX7456.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MAX7456.cpp Tue Nov 16 10:47:25 2010 +0000 +++ b/MAX7456.cpp Sat Apr 30 17:10:04 2016 +0000 @@ -90,7 +90,13 @@ void MAX7456::init(PinName mosi, PinName miso, PinName sclk, const char *name, PinName cs, PinName rst, PinName vsync) { - _ssp = new SPI(mosi, miso, sclk, name); + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + // Here code change !!!! "name" is not use in new library + // Christian Dupaty 03/2016 + // original is : + //_ssp = new SPI(mosi, miso, sclk, name); + // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + _ssp = new SPI(mosi, miso, sclk); _cs = new DigitalOut(cs); _rst = new DigitalOut(rst); if (vsync != NC) {