Skip to content

Commit

Permalink
pwmgood
Browse files Browse the repository at this point in the history
  • Loading branch information
97hackbrian committed Nov 21, 2023
1 parent 8fe9630 commit c54e660
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@ void timer3A_handler(void)
GPIOPinWrite(GPIO_PORTH_BASE, 0x02, 0x02);
GPIOPinWrite(GPIO_PORTH_BASE, 0x01, 0x01);

PWMPulseWidthSet(PWM0_BASE,PWM_OUT_1,100);
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_2,0);
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_3,5000);
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_4,0);


/*
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_2,0);
//GPIOPinWrite(GPIO_PORTG_BASE, 0x01, 0x00);
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_4,5000);
Expand All @@ -381,7 +388,7 @@ void timer3A_handler(void)
//GPIOPinWrite(GPIO_PORTG_BASE, 0x01, 0x00);
PWMPulseWidthSet(PWM0_BASE,PWM_OUT_6,0);

*/
/*
GPIOPinWrite(GPIO_PORTN_BASE, 0x02, 0x02);
Expand Down

0 comments on commit c54e660

Please sign in to comment.