Update pico-am.ino

This commit is contained in:
Daniella / Tove 2023-05-05 14:27:41 +02:00 committed by GitHub
parent 466ac91104
commit 54cb724da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,9 @@ void setup() {
PWM_Level = 65535; PWM_Level = 65535;
// setPWM_manual(uint8_t pin, uint16_t top, uint8_t div, uint16_t level, bool phaseCorrect = false) // setPWM_manual(uint8_t pin, uint16_t top, uint8_t div, uint16_t level, bool phaseCorrect = false)
led->setPWM_manual(LED_BUILTIN, PWM_TOP, PWM_DIV, PWM_Level, false); led->setPWM_manual(LED_BUILTIN, PWM_TOP, PWM_DIV, PWM_Level, false);
delay(200);
Serial.println(pwm->get_freq_CPU()); Serial.println(pwm->get_freq_CPU());
Serial.println(pwm->getActualFreq()); Serial.println(pwm->getActualFreq());
delay(200);
} }
//long n = 0; //long n = 0;