The first thing you need to do is to get a copy of the programming manual for the device you wish to use, and learn the interface. If you want to make the device shareable then I think you will need to write a driver so that means learning device driver code which you can study
here[
^].