Hello There,
I have modified one of the example files from Proffesor Valvano, I've got this file from:
http://users.ece.ute...m/PWM_4C123.zip
I have modified PWM0A_Init so I can see the output on PF3 (Green Led), here the most right comments indicate the changes that I have made:
void PWM0A_Init(unsigned short period, unsigned short duty){ volatile unsigned long delay; SYSCTL_RCGCPWM_R |= 0x01<<1; // 1) activate PWM0 >>activate PWM1 SYSCTL_RCGCGPIO_R |= 0x01<<5; // 2) activate port