Update pico-am.ino
This commit is contained in:
parent
466ac91104
commit
54cb724da1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue