Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 200 → Rev 201

/PIC Stuff/Cerebot_32MX7_LED_Cube/PWM2.c/PWM2.c
11,7 → 11,7
 
IFS0CLR = 0x00000100; // Disable Timer 2 interrupt
T2CONSET = 0x8000; // Turn on Timer 2
PR2 = 0x0003; // PWM period ~ 16-20Mhz
PR2 = 0x0003; // PWM period ~ 16-20Mhz
}
 
void PWM2_Start(void) {