Update Extras.md

This commit is contained in:
HomeSpan 2020-11-26 22:23:01 -06:00 committed by GitHub
parent a0c0c1af13
commit 6a87dc4f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ The following methods are supported:
* returns the pin number * returns the pin number
PwmPin also includes a static class function that converts Hue/Saturation/Brightness values (typically used by HomeKit) to Red/Green/Blue values (ypically used to control multi-color LEDS). PwmPin also includes a static class function that converts Hue/Saturation/Brightness values (typically used by HomeKit) to Red/Green/Blue values (typically used to control multi-color LEDS).
* `static void HSVtoRGB(float h, float s, float v, float *r, float *g, float *b)` * `static void HSVtoRGB(float h, float s, float v, float *r, float *g, float *b)`
@ -36,8 +36,9 @@ PwmPin also includes a static class function that converts Hue/Saturation/Bright
* *g* - output Green value, range 0-1 * *g* - output Green value, range 0-1
* *b* - output Blue value, range 0-1 * *b* - output Blue value, range 0-1
See tutorial sketch [10 (RGB_LED)](../examples/10-RGB_LED) for an example of using PwmPin to control an RGB LED. See tutorial sketch [#10 (RGB_LED)](../examples/10-RGB_LED) for an example of using PwmPin to control an RGB LED.
## Radio Frequency / Infrared Signal Generation