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.
Diff: WS281X.h
- Revision:
- 29:a362df191524
- Parent:
- 28:b452e097da53
- Child:
- 30:59b70f91b471
--- a/WS281X.h Wed Sep 07 21:07:17 2016 +0000 +++ b/WS281X.h Wed Sep 07 22:21:27 2016 +0000 @@ -47,7 +47,7 @@ enum RGBOrder { RGB = 0, RBG, GRB, GBR, BRG, BGR, - GET_ORDER = -1 + READ_ORDER = -1 }; /** @@ -62,7 +62,7 @@ WS281X(PinName wirePin, PinMode pinMode = PullNone, RGBColor *buffer = 0, int maxPixels = 0, RGBOrder rgbOrder = WS281X::RGB); ~WS281X(); - WS281X::RGBOrder rgbOrder(WS281X::RGBOrder order = GET_ORDER); + WS281X::RGBOrder rgbOrder(WS281X::RGBOrder order = READ_ORDER); MBED_DEPRECATED("don't setRGBOrder any more, rgbOrder() instead") void setRGBOrder(RGBOrder order = WS281X::RGB) { rgbOrder(order); } MBED_DEPRECATED("don't getRGBOrder any more, rgbOrder() instead")