More Formatting

This commit is contained in:
retic1337 2020-12-29 18:04:05 -08:00
parent c76fbc4c3f
commit 867f7612db

View file

@ -9,9 +9,9 @@
* led_on sets the leds state to on * led_on sets the leds state to on
* led_off sets the leds state to off * led_off sets the leds state to off
* set_brightness sets thepwm value for the specific led * set_brightness sets thepwm value for the specific led
* set_color will set leds based upon a led number and 3 * set_color will set leds based upon a led number and 3
* values representing RGB this is applicable for uses * values representing RGB this is applicable for uses
* where the leds are wired as shown in the datasheet * where the leds are wired as shown in the datasheet
* in "Figure 2 Typical Application Circuit (RGB)". * in "Figure 2 Typical Application Circuit (RGB)".
* *
* struct device *dev = device_get_binding("IS31FL3733A"); * struct device *dev = device_get_binding("IS31FL3733A");
@ -21,12 +21,12 @@
* #define led 1 * #define led 1
* uint8_t RGB[3] = (red, green, blue); * uint8_t RGB[3] = (red, green, blue);
* set_color(dev, led, 3, RGB); * set_color(dev, led, 3, RGB);
* *
* This would set the led in position (SW1,CS1) to the value * This would set the led in position (SW1,CS1) to the value
* of red, the led in position (SW2,CS1) to the value of * of red, the led in position (SW2,CS1) to the value of
* green, and the led in position (SW3,CS1) to the value of * green, and the led in position (SW3,CS1) to the value of
* blue. Before this is ran the 3 corresponding leds need * blue. Before this is ran the 3 corresponding leds need
* to be turned on first with the led_on call. * to be turned on first with the led_on call.
*/ */
#include <drivers/i2c.h> #include <drivers/i2c.h>