fan9 2.1.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the Fan 9 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Fan 9 Click driver.
fan9_cfg_setup
Config Object Initialization function. fan9_init
Initialization function. fan9_default_cfg
Click Default Configuration function. fan9_set_direction
This function is used to set direction of Fan 9 click board. fan9_write_reg
This function reads a data bytes from the selected register by using I2C serial interface. fan9_set_pwm
This function is used to get PWM value of Fan 9 click board. This example demonstrates the use of FAN 9 click board, by changing speed of the fan from 0 to 100 percent, then decreasing it back to 0.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Changes the speed of fans by changing the PWM duty cycle.
The results are being displayed via USB UART where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.