![]() |
Doly C++ SDK v1.00
|
Functions | |
| int8_t | init (bool auto_control) |
| Initialize the Fan Control module. | |
| int8_t | dispose () |
| Dispose the Fan Control module and release resources. | |
| int8_t | setFanSpeed (uint8_t percentage) |
| Set fan speed as a percentage. | |
| bool | isActive () |
| Check whether the Fan Control module is active (initialized). | |
| float | getVersion () |
| Get current library version. | |
| int8_t FanControl::dispose | ( | ) |
Dispose the Fan Control module and release resources.
| float FanControl::getVersion | ( | ) |
Get current library version.
Original note: format 0.XYZ (3 digits after major).
| int8_t FanControl::init | ( | bool | auto_control | ) |
Initialize the Fan Control module.
| auto_control | If true, automatic temperature control will manage fan speed. |
| bool FanControl::isActive | ( | ) |
Check whether the Fan Control module is active (initialized).
| int8_t FanControl::setFanSpeed | ( | uint8_t | percentage | ) |
Set fan speed as a percentage.
| percentage | Fan speed percentage (0..100). |
auto_control was enabled in init(), the automatic controller may override or adjust the fan speed over time.