Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
PWM.h File Reference
#include "main.h"
Include dependency graph for PWM.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OUTPUT_PIN0   (14UL)
 Channel 0 Red. More...
 
#define OUTPUT_PIN1   (12UL)
 Channel 1 Green. More...
 
#define OUTPUT_PIN2   (11UL)
 Channel 2 Blue. More...
 

Functions

void pwm_init (void)
 Initialize PWM module. More...
 
void updateLED (uint16_t REDduty, uint16_t GREENduty, uint16_t BLUEduty)
 Set new RGB brightness and/or color. More...
 
void startLED (void)
 Start PWM module. More...
 
void stopLED (void)
 Stop PWM module. More...
 
void testLED (void)
 PWM module test sequence. More...