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.
Fork of RF22 by
Revision 9:46fb41f4259d, committed 2013-08-29
- Comitter:
- floha
- Date:
- Thu Aug 29 21:57:14 2013 +0000
- Parent:
- 8:d9e2ca137f2e
- Commit message:
- changed the LED default numbers in the RF22 constructor as the former values interfered with pins used on an KL25Z board. The library didn't work with those.
Changed in this revision
RF22.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RF22.cpp Sun Apr 07 11:42:36 2013 +0000 +++ b/RF22.cpp Thu Aug 29 21:57:14 2013 +0000 @@ -58,7 +58,7 @@ }; RF22::RF22(PinName slaveSelectPin, PinName mosi, PinName miso, PinName sclk, PinName interrupt) - : _slaveSelectPin(slaveSelectPin), _spi(mosi, miso, sclk), _interrupt(interrupt), led1(LED1), led2(LED2), led3(LED3), led4(LED4) + : _slaveSelectPin(slaveSelectPin), _spi(mosi, miso, sclk), _interrupt(interrupt), led1(LED4), led2(LED2), led3(LED3), led4(LED4) {