| Electronic Components Datasheet Search |
|
DFR0553 Datasheet(PDF) 4 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0553 Datasheet(HTML) 4 Page - DFROBOT |
|
4 / 8 page ![]() Sample Code Please down the DFRobot_ADS1115 Library and install it. How to install Libraries in Arduino IDE Description of the I2C Address in this Library: ADS1115_IIC_ADDRESS0:0x48 ADS1115_IIC_ADDRESS1:0x49 /* * file ADS1115_ReadVoltage.ino * * @ https://github.com/DFRobot/DFRobot_ADS1115 * * connect ADS1115 I2C interface with your board (please reference board c ompatibility) * * The voltage value read by A0 A1 A2 A3 is printed through the serial por t. * * Copyright [DFRobot](http://www.dfrobot.com), 2016 * Copyright GNU Lesser General Public License * * version V1.0 * date 2018-01-21 */ #include <Wire.h> #include <DFRobot_ADS1115.h> DFRobot_ADS1115 ads; void setup(void) { Serial.begin(115200); ads.setAddr_ADS1115(ADS1115_IIC_ADDRESS0); // 0x48 ads.setGain(eGAIN_TWOTHIRDS); // 2/3x gain ads.setMode(eMODE_SINGLE); // single-shot mode |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |