thumbwheel 2.0.0.0
|
Thumbwheel click is a mikroBUS add-on board with a 10-position rotary sprocket connected to a 1-Wire 8-Channel Addressable Switch.
We provide a library for the Thumbwheel 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 Thumbwheel Click driver.
thumbwheel_cfg_setup
Config Object Initialization function. thumbwheel_init
Initialization function. thumbwheel_get_position
This function gets the position of the rotary sprocket. This example demonstrates the use of Thumbwheel click board by displaying the exact position of the rotary sprocket.
The demo application is composed of two sections :
Initializes the driver and checks the communication.
Demonstrates the usage of thumbwheel_get_position function which gives the exact position of the rotary sprocket. The position will be displayed on the UART Terminal.
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.