|
| PWMFan (uint8_t pwmPin, uint16_t minRPM, uint16_t maxRPM) |
|
virtual void | setPower (uint8_t percentage) |
|
virtual uint8_t | calculatePowerFromSpeed (uint16_t rpm) |
|
virtual uint16_t | calculateSpeedFromPower (uint8_t power) |
|
|
const uint8_t | pwmPin |
|
const uint16_t | minRPM |
|
const uint16_t | maxRPM |
|
◆ PWMFan()
PWMFan::PWMFan |
( |
uint8_t |
pwmPin, |
|
|
uint16_t |
minRPM, |
|
|
uint16_t |
maxRPM |
|
) |
| |
PWM fan which maps speed to power using linear interpolation. This fan does not read the real RPM values. The Arduino timer for the given pin will be set to higher speed.
- Parameters
-
pwmPin | the Arduino pwm pin for this fan. Not all PWM pins are supported. |
minRPM | the speed in RPM at 0% power |
maxRPM | the speed in RPM at 100% power |
The documentation for this class was generated from the following files:
- examples/CommanderPRO/PWMFan.h
- examples/CommanderPRO/PWMFan.cpp