@@ -190,13 +190,13 @@ pwmout_result_t common_hal_pulseio_pwmout_construct(pulseio_pwmout_obj_t* self,
190
190
uint32_t period = PULSE_RESOLUTION ;
191
191
uint32_t input = (duty * PULSE_RESOLUTION )/65535 ;
192
192
//Used for Debugging
193
- mp_printf (& mp_plat_print , "Duty:%d, Pulses:%d\n" , duty ,input );
194
- mp_printf (& mp_plat_print , "SysCoreClock: %d\n" , SystemCoreClock );
195
- mp_printf (& mp_plat_print , "Source Freq: %d\n" , source_freq );
196
- mp_printf (& mp_plat_print , "Prescaler %d, Timer Freq: %d\n" , prescaler , source_freq /prescaler );
197
- mp_printf (& mp_plat_print , "Output Freq: %d\n" , (source_freq /prescaler )/period );
198
- mp_printf (& mp_plat_print , "Duty: %d\n" , duty );
199
- mp_printf (& mp_plat_print , "TIM#:%d CH:%d ALTF:%d\n" , self -> tim -> tim_index , self -> tim -> channel_index , self -> tim -> altfn_index );
193
+ // mp_printf(&mp_plat_print, "Duty:%d, Pulses:%d\n", duty,input);
194
+ // mp_printf(&mp_plat_print, "SysCoreClock: %d\n", SystemCoreClock);
195
+ // mp_printf(&mp_plat_print, "Source Freq: %d\n", source_freq);
196
+ // mp_printf(&mp_plat_print, "Prescaler %d, Timer Freq: %d\n", prescaler, source_freq/prescaler);
197
+ // mp_printf(&mp_plat_print, "Output Freq: %d\n", (source_freq/prescaler)/period);
198
+ // mp_printf(&mp_plat_print, "Duty: %d\n", duty);
199
+ // mp_printf(&mp_plat_print, "TIM#:%d CH:%d ALTF:%d\n", self->tim->tim_index, self->tim->channel_index, self->tim->altfn_index);
200
200
201
201
//Timer init
202
202
self -> handle .Instance = TIMx ;
0 commit comments