fan2 2.0.0.0
|
Fan 2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Fan 2 Click example.
This example demonstrates the use of Fan 2 Click board. It demonstrates sensor measurements and fan control.
The demo application is composed of two sections :
Initializes I2C driver and executes a default configuration for Fan 2 click. Also initializes UART logger for results logging.
Increments the fan speed from half speed to maximum, and on each step measures the current fan speed in RPM and the remote temperature in Celsius. Fan speed will be incremented/decremented each second for 10 percents.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |