MikroE Click Library Structures
Posted: 03 Dec 2019 21:18
I have been trying to work on a project for a while and I keep running into libraries that don't seem to work for certain dev platforms, or do not have enough documentation on the library functions to be able to get them to work. Is there a tutorial or structure layout somewhere for how the libraries are written?
For instance, I am trying to add Load Cell Click to Mikromedia 5 for Tiva. The example for ARM is for a Fusion board and it uses a different set of functions for initialization than what the installed Tiva Library has. The Tiva Library does not have help for each function that lays out how to use each function, or what the objects look like that have to be passed to the functions. I looked up the library in GitHub and found that "loadcell_driver_gpio_init" takes a "T_LOADCELL_P gpioObj" passed into it and that object essentially gets passed to "hal_gpioMap( (T_HAL_P)gpioObj" . However, there is nothing that I can find that shows what the acceptable objects would look like that get passed into that.
A layout structure, or a tutorial, on how to find the references and objects available for use in the Click libraries would be great.
Thank you.
For instance, I am trying to add Load Cell Click to Mikromedia 5 for Tiva. The example for ARM is for a Fusion board and it uses a different set of functions for initialization than what the installed Tiva Library has. The Tiva Library does not have help for each function that lays out how to use each function, or what the objects look like that have to be passed to the functions. I looked up the library in GitHub and found that "loadcell_driver_gpio_init" takes a "T_LOADCELL_P gpioObj" passed into it and that object essentially gets passed to "hal_gpioMap( (T_HAL_P)gpioObj" . However, there is nothing that I can find that shows what the acceptable objects would look like that get passed into that.
A layout structure, or a tutorial, on how to find the references and objects available for use in the Click libraries would be great.
Thank you.