Update cubesatsim.ino

pull/172/head
alanbjohnston 3 years ago committed by GitHub
parent 6b9eb5f82d
commit b0e797d1f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2297,7 +2297,7 @@ void start_pwm() {
*/
config = pwm_get_default_config();
// pwm_config_set_clkdiv(&config, 8.0); //16.0); // 8.0f); was 16 for some reason
pwm_config_set_clkdiv(&config, 1.0f); // 16.0); //1.0f); // 1.0f);
pwm_config_set_clkdiv(&config, 2.0f); // 1.0f); // 16.0); //1.0f); // 1.0f);
// pwm_config_set_wrap(&config, 178); // 250);
pwm_config_set_wrap(&config, 3); // 255); // 3);

Loading…
Cancel
Save

Powered by TurnKey Linux.