|
|
|
@ -2271,8 +2271,8 @@ void start_pwm() {
|
|
|
|
|
|
|
|
|
|
|
|
// pwm_value = 128 - pwm_amplitude;
|
|
|
|
// pwm_value = 128 - pwm_amplitude;
|
|
|
|
|
|
|
|
|
|
|
|
set_sys_clock_khz(125000, true);
|
|
|
|
// set_sys_clock_khz(125000, true);
|
|
|
|
// set_sys_clock_khz(133000, true);
|
|
|
|
set_sys_clock_khz(133000, true);
|
|
|
|
gpio_set_function(BPSK_PWM_A_PIN, GPIO_FUNC_PWM);
|
|
|
|
gpio_set_function(BPSK_PWM_A_PIN, GPIO_FUNC_PWM);
|
|
|
|
gpio_set_function(BPSK_PWM_B_PIN, GPIO_FUNC_PWM);
|
|
|
|
gpio_set_function(BPSK_PWM_B_PIN, GPIO_FUNC_PWM);
|
|
|
|
|
|
|
|
|
|
|
|
|