this library has few cahnges from the original library, for effects of this work.
Fork of ADS1015 by
Revision 6:9970e4a3007e, committed 2018-05-21
- Comitter:
- FannyCalle
- Date:
- Mon May 21 15:09:51 2018 +0000
- Parent:
- 5:aa277517f0ad
- Commit message:
- configurado para mis sensores, en ganancia ;
Changed in this revision
Adafruit_ADS1015.h | Show annotated file Show diff for this revision Revisions of this file |
LICENSE.txt | Show diff for this revision Revisions of this file |
diff -r aa277517f0ad -r 9970e4a3007e Adafruit_ADS1015.h --- a/Adafruit_ADS1015.h Sat Oct 11 08:45:17 2014 +0000 +++ b/Adafruit_ADS1015.h Mon May 21 15:09:51 2018 +0000 @@ -26,7 +26,7 @@ /*========================================================================= I2C ADDRESS/BITS -----------------------------------------------------------------------*/ - #define ADS1015_ADDRESS (0x48) // 1001 000 (ADDR = GND) + #define ADS1015_ADDRESS (0x4A) // 1001 000 (ADDR = GND) /*=========================================================================*/ /*========================================================================= @@ -105,7 +105,7 @@ /*=========================================================================*/ typedef enum { - GAIN_TWOTHIRDS = ADS1015_REG_CONFIG_PGA_6_144V, + GAIN_TWOTHIRDS = ADS1015_REG_CONFIG_PGA_6_144V, GAIN_ONE = ADS1015_REG_CONFIG_PGA_4_096V, GAIN_TWO = ADS1015_REG_CONFIG_PGA_2_048V, GAIN_FOUR = ADS1015_REG_CONFIG_PGA_1_024V,
diff -r aa277517f0ad -r 9970e4a3007e LICENSE.txt --- a/LICENSE.txt Sat Oct 11 08:45:17 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -Software License Agreement (BSD License) - -Copyright (c) 2012, Adafruit Industries -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright -notice, this list of conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution. -3. Neither the name of the copyright holders nor the -names of its contributors may be used to endorse or promote products -derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file