Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

pwm? #1

Open
pepelillo opened this issue Jan 26, 2022 · 2 comments
Open

pwm? #1

pepelillo opened this issue Jan 26, 2022 · 2 comments

Comments

@pepelillo
Copy link

Hello.

One question O'm not a developer but if the speed is controlled by ioPIN 12 (Analog) how the PWM based control is made?

@stefanthoss
Copy link
Owner

Using pinMode(FAN_PIN, OUTPUT) the pin 12 on the board is set as a digital output. See the digital pins page for details. Using the analogWrite() function, you can the write a PWM wave to the pin.

@warp735
Copy link

warp735 commented Feb 22, 2022

Wo wird denn die Frequenz festgelegt? Fehlt da nicht ein analogWriteFreq(25000)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants