terminal2 2.0.0.0
|
Terminal 2 Click is an adapter Click board™ used as a mikroBUS™ socket expansion board. It provides an easy and elegant solution for adding the external connection capability to the Click board™, plugged on a mikroBUS™ socket. Featuring two 9-position 2.54mm pitch terminal blocks makes it an easy way to expand the development system's connectivity with the mikroBUS™ socket while keeping the bus free to use with any Click board™.
We provide a library for the Terminal 2 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 Terminal 2 Click driver.
terminal2_cfg_setup
Config Object Initialization function. terminal2_init
Initialization function. terminal2_set_all_pins_high
This function sets all terminal pins to high logic level. terminal2_set_all_pins_low
This function sets all terminal pins to low logic level. terminal2_toggle_pin
This function toggles the specified pin logic level. This example demonstates the use of Terminal 2 click board by toggling all its pins.
The demo application is composed of two sections :
Initializes the driver and logger and sets all pins to low logic state.
Toggles all pins from mikroBUS one by one in the span of 1 second between each pin toggle.
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.