expand7
2.0.0.0
|
EXPAND 7 Click is a compact add-on board that contains a multi-port I/O expander with bi-directional input/outputs or PWM outputs.
We provide a library for the Expand7 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for Expand7 Click driver.
expand7_cfg_setup
Config Object Initialization function. expand7_init
Initialization function. expand7_reset
Reset function expand7_write_all
Set all OUTPUT pins' logic levels function expand7_write_pin
Set a single OUTPUT pin's logic level function This example demonstrates the use of the EXPAND 7 Click.
The demo application is composed of two sections :
Initalizes I2C driver and makes an initial log.
This example shows the capabilities of the EXPAND 7 Click by toggling each of the 40 available pins.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.