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: rgb.h
- Revision:
- 3:c6e16ad073f6
- Parent:
- 2:37ffab5933a1
- Child:
- 4:630bc0ac793a
--- a/rgb.h Thu Dec 10 14:18:16 2015 +0000 +++ b/rgb.h Thu Dec 10 14:20:28 2015 +0000 @@ -15,7 +15,14 @@ /** Create RGB instance */ RGB(PinName r_pin, PinName g_pin, PinName b_pin); + + /** setColor instance + *This will set the color + */ void setColor(Color*color); + /** setColor instance with RGB + *This will set the color with given values red, green, blue + */ void setColor(int red, int green, int blue); void setColor(int color);