The beauty of Arduino platform is that there are libraries available for most peripherals. All you need to do is to Google.
- To add a .zip file, Sketch > Include Library > Add .ZIP Library > select the .zip file.
- Alternatively (if the library is unzipped), copy the folder to Documents\Arduino\libraries.
- After including the library, the path has to be exactly as shown below Documents\Arduino\libraries\<lib_name>\<lib_name>.h/.cpp files.
- Restart the Arduino IDE after adding the library.
- You can see that the library at Sketch > Include Library.
- Many libraries come with example programs, which can be your starting point. The example programs can be found at File > Examples > Examples from contributed libraries.