expand9 2.0.0.0
|
Expand 9 Click is a compact add-on board that contains a multi-port I/O expander. This board features the SX1509QB, the world’s lowest voltage level shifting GPIO expander from Semtech Corporation. The SX1509QB comes in a 16-channel configuration and allows easy serial expansion of I/O through a standard I2C serial interface. It also has a built-in level shifting feature making it highly flexible in power supply systems where communication between incompatible I/O voltages is required, an integrated LED driver for enhanced lighting, and a keypad scanning engine to implement keypad applications up to 8x8 matrix.
We provide a library for the Expand9 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 Expand9 Click driver.
expand9_cfg_setup
Config Object Initialization function. expand9_init
Initialization function. expand9_default_cfg
Click Default Configuration function. expand9_set_ch_output_state
Expand 9 set channel output state function. expand9_led_driver_config
Expand 9 LED driver configuration function. expand9_soft_reset
Expand 9 software reset function. This is an example that demonstrates the use of the Expand 9 Click board™. The library initializes and defines the I2C bus drivers to write and read data from registers.
The demo application is composed of two sections :
The initialization of I2C module, log UART, and additional pins. After driver initialization the app set default settings.
his is an example that demonstrates the use of the Expand 9 Click board™. This example shows the capabilities of the Expand 9 click by toggling each of 16 available channels. Results are being sent to the Usart Terminal 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.