Grzegorz Kaczmarek
/
Max7221
Fix to have load pin working with SPI1.
Fork of Max7221 by
Diff: Max7221.h
- Revision:
- 5:1f3dbf38d027
- Parent:
- 4:e2b160410338
- Child:
- 6:191569a26f50
--- a/Max7221.h Wed Aug 07 03:07:01 2013 +0000 +++ b/Max7221.h Thu Nov 19 23:27:53 2015 +0000 @@ -84,7 +84,7 @@ * device that share the same msoi and mclk pins * @date 8/6/2013 */ - Max7221(PinName msoi=p5, PinName mclk=p7, PinName load=p8); + Max7221(PinName msoi=PTC6, PinName mclk=PTC5, PinName load=PTC4); /** * This method is used to write a byte of data to a specified register for only the device defined in this class instance