This is a very simple library for Sharp GP2Y1010AU dust sensor.
base code is from the following page. : http://www.dfrobot.com/wiki/index.php/Sharp_GP2Y1010AU
- Download the library source
- In the Arduino IDE, go to the Sketch -> Import Library... -> Add Library...
- Find the directory that contains the sharp_dust_gp2y1010au library source, and open it
- Check if you could see "sharp_dust_gp2y1010au" under Sketch -> Import Library...