Buoyancy Firmware  1.0
Buoyancy Vehicle Firmware Documentation
PWM.c File Reference
#include "PWM.h"
Include dependency graph for PWM.c:

Functions

void pwm_init (void)
 Initialize PWM module. More...
 
void updateLED (uint16_t REDduty, uint16_t GREENduty, uint16_t BLUEduty)
 
More...
 
void stopLED (void)
 
More...
 
void startLED (void)
 
More...
 
void testLED ()
 
More...
 

Variables

int16_t REDseq_buf [] = {(1 << 15) | 0}
 Channel 0: Inverse polarity (bit 15), 500us duty cycle. More...
 
int16_t GREENseq_buf [] = {(1 << 15) | 0}
 Channel 1: Inverse polarity (bit 15), 500us duty cycle. More...
 
int16_t BLUEseq_buf [] = {(1 << 15) | 1}
 Channel 2: Inverse polarity (bit 15), 500us duty cycle. More...