STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1#include "STAR_ADS126X.h"
2
3#define READINGS_PER_MUX 1
4#define FILTER ADS126X_SINC1
5#define DATA_RATE ADS126X_RATE_38400
6
7// ADC Reference Configuration
8// Selects which voltage the ADS126X uses as its reference for ADC conversions.
9// 0 = Internal 2.5V reference (codes convert as: voltage = code * 2.5 / 2^31)
10// 1 = VDD (power supply, typically 3.3V or 5V). Receiver must know VDD to
11// convert codes to volts. Note: Raw codes are sent over the wire; reference is
12// NOT in the packet.
13#define USE_VDD_REFERENCE 0