#include <Arduino.h>
#include <SPI.h>
#include "constants.h"
#include "my_ADS126X.h"
#include "noise_analyzer.h"
#include "sense_board_pins.h"
Go to the source code of this file.
◆ PINS_ACTIVE_LAYOUT
◆ USE_ADC1
◆ USE_CHOP
◆ configureADC()
◆ getSampleCount()
| size_t getSampleCount |
( |
uint16_t | sps | ) |
|
◆ loop()
Definition at line 201 of file main.cpp.
References ads126x, configureADC(), count(), currentConfigIndex, delay(), delayMicroseconds(), digitalRead(), getSampleCount(), LOW, noiseAnalyzer, numConfigs, Pins, printResults(), Serial, targetSamples, testComplete, testConfigs, and USE_ADC1.
◆ printResults()
◆ setup()
Definition at line 142 of file main.cpp.
References ads126x, ADS126X_CHOP_1, ADS126X_TDAC, configureADC(), currentConfigIndex, delay(), getSampleCount(), INPUT, millis(), numConfigs, pinMode(), Pins, Serial, SPI_MODE1, targetSamples, testConfigs, USE_ADC1, and USE_CHOP.
◆ ads126x
Definition at line 20 of file main.cpp.
Referenced by adc_for_connector(), collect_chunk(), collect_chunk_impl(), configureADC(), flush_adc_cycles(), flush_cycles(), flush_cycles(), init_adc_cb(), loop(), on_reference_voltage_cb(), read_data(), read_data(), read_one(), read_single_connector(), run_self_test_cb(), set_connector_rtd(), and setup().
◆ currentConfigIndex
| int currentConfigIndex = 0 |
◆ noiseAnalyzer
◆ numConfigs
◆ Pins
◆ targetSamples
◆ testComplete
| bool testComplete = false |
◆ testConfigs
Initial value:= {
}
#define ADS126X_RATE_19200
#define ADS126X_RATE_1200
Definition at line 33 of file main.cpp.
Referenced by loop(), and setup().