PC Fans: Difference between revisions
writw |
|||
| Line 94: | Line 94: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The ESP8266 requires a call to <tt>analogWriteFreq(25000);</tt> before using <tt>analogWrite()</tt> to set an 8-bit duty cycle. This is a global setting, and will affect any other <tt>analogWrite()</tt>s in your program. | |||
==Tachometer== | ==Tachometer== | ||