ADS1xxx-Series-ADC-Libraries / ADS1255-ADS1256

Arduino Library for Texas Instrument ADS1256 Very Low Noise, 24-Bit Analog-to-Digital Converter
MIT License
23 stars 11 forks source link

Your description page is wrong and does not appear to be complete. #6

Open KOUKILEO opened 2 years ago

KOUKILEO commented 2 years ago

Your description page is wrong and does not appear to be complete.

I've looked at your instructions and programs and found that some parts of the instructions seem to be wrong. For example... (A)adc.readCurrentChannel(): Returns the value of the currently raw data stored in the MUX register. Returns float (should be changed to long...) (B)adc.readCurrentChannelVolts(): Returns the value of the currently data stored in the MUX register converted to Volts. Returns float But actually adc.readCurrentChannelRaw() in CODE is to read raw data Then adc.readCurrentChannel() is the read voltage.

And Example: adc.sendCommand(SDATAC): Send SDATAC to stop reading contionus data, so we can send other command should actually be adc.sendCommand(ADS1256_CMD_SDATAC).

The description does not explain what the false in the code adc.begin(ADS1256_DRATE_100SPS, ADS1256_GAIN_2, false) means, although it is explained in the library.

Maybe I'm doing something wrong, but this is where I currently feel like something is wrong. best regards