Go to full tutorial in portuguese about ADS1115 at Portal Embarcados and learn how to use ADS1115 with Raspberry Pi and C language.
Instructions for compiling and running ads1115_example.c
1 - Clone this repository to your Raspberry Pi
$ git clone https://github.com/giobauermeister/ads1115-linux-rpi.git
2 - Go into the cloned folder
$ cd ads1115-linux-rpi/
3 - Run gcc to compile the example
$ gcc ads1115_example.c ads1115_rpi.c -o ads1115_example
4 - Run the example
$ ./ads1115_example
The example reads from analog inputs A0, A1, A2 and prints the voltage values to the console. You can use the following circuit with this example: