Little-Wire
|
Software PWM functions. Designed to be used with RGB LEDs. More...
Functions | |
void | softPWM_state (littleWire *lwHandle, unsigned char state) |
void | softPWM_write (littleWire *lwHandle, unsigned char ch1, unsigned char ch2, unsigned char ch3) |
Software PWM functions. Designed to be used with RGB LEDs.
void softPWM_state | ( | littleWire * | lwHandle, |
unsigned char | state | ||
) |
Sets the state of the softPWM module
lwHandle | littleWire device pointer |
state | State of the softPWM module ( ENABLE or DISABLE ) |
Definition at line 359 of file littleWire.c.
void softPWM_write | ( | littleWire * | lwHandle, |
unsigned char | ch1, | ||
unsigned char | ch2, | ||
unsigned char | ch3 | ||
) |
Updates the values of softPWM modules
lwHandle | littleWire device pointer |
ch1 | Value of channel 1 - PIN4 |
ch2 | Value of channel 2 - PIN1 |
ch3 | Value of channel 3 - PIN2 |
Definition at line 364 of file littleWire.c.